Closed FelixNikolaus closed 11 years ago
Hi, Im sure its possible but I cant find it. How can I select en Item with js? And btw how can i add an item?
Thanks a lot!! Felix
To select an item it's pretty straightforward js.
$("select").val("new_value")
Then to sync the picker with the actual select element just call
$("select").data("picker").sync_picker_with_select()
Hi, Im sure its possible but I cant find it. How can I select en Item with js? And btw how can i add an item?
Thanks a lot!! Felix