If I change the code to force the ID I can make the new dropdown work. Which is currently fine becasuse I only need this for one column right now. I will continue to dig through the code to see if I can find the true issue though.
// Build up the simple dropdown, giving it an easy to select id
var simpleSelectId = 'SPComplexToSimpleDropdown_Equipment';
I can then set the value with the following cookie value.
When I go to save the form, the value from the newly created simple dropdown is blank. If I manually change the option everyting gets submitted fine.
Im setting two cookies in the form, and the first one gets saved just fine. Only difference is its a simple dropdown from the start.
Any ideas on what I need to add to $('#SPComplexToSimpleDropdown_Equipment').val(equipmentid); to ensure it is in fact selected and the value will be submitted?