Quantcast
Viewing all articles
Browse latest Browse all 6517

New Post: SPComplexToSimpleDropdown and jquery cookie plugin.

Since you are not sure where the problem is let's check a few things. Do this after you set it to a simple drop down:

// check if the drop down was found. Should find 1
alert('Found select: ' + $('#SPComplexToSimpleDropdown_' + 'opt.Equipment').length);

// ensure we have a value to set
alert('select will be set to: ' + equipmentid)

On the last one check that the value you are setting is present on the dropown. Don't remember how Mark built the dropdown, but maybe you need the Title if you are using the ID of the lookup item.


_____
Paul

Sent from mobile device.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>