Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: SPComplexToSimpleDropdown and jquery cookie plugin.

$
0
0

Im using SPComplexToSimpleDropdown on a list that is having its value set with a cookie.  The dropdown is being converted to a simple dropdown.  I can see that visualy. 

The code Im using is:

 $().SPServices.SPComplexToSimpleDropdown({ 
 columnName: "Equipment",
 debug: true
});

Once I started using the SPComplexToSimpleDropdown function, the cookie no longer works.

I relize that the Id has changed and have used the following code as the jquery selector to set the cookie. 

$('#SPComplexToSimpleDropdown_' + 'opt.Equipment').val(equipmentid);

 

Im assuming there is something wrong with my selector, but I dont see it.  I beleive I followed what was in the directions for the SPComplexToSimpleDropdown.

 

Can somebody verify that im correct? 

 

Thanks


Viewing all articles
Browse latest Browse all 6517

Trending Articles