jQuery Plugins

How to add option in select box when use jquery ui?

0 16
$('#mycatselect').append($("<option></option>").attr("value", "foo").text('bar'));
$("#myselect").selectmenu('destroy').selectmenu();

About the author / 

codeadmin

Leave a reply

Your email address will not be published. Required fields are marked *

*