When adding an item to a "Select" Component, this is how I do it
code
var dropDown = $('[name=selectComponent]');
dropDown.html('');
dropDown.append('<option value="' + itemValue + '">' + itemDisplayname + '</option>');
/code
So how do I add an item similarly to a list item but with a value. I can use the append to add items to list component but how do I specify the value?
Thanks