This plugin enables to manage Select elements in forms. Offers possibility to add options from an Array, a XML file or JSON data, or even, directly from the Select with a prompt.
New! Correct a little bug with loading type (post / get) and add example to auto-populate a Select element.
New! jSelect was updated to work with new jQuery 1.3.2 and to add possibility to create options with a plain array. Download jSelect 1.3.1
jQuery jSelect requires jQuery 1.2 or above.
$('#array_plus_xml_select').jselect({
data: [ "Option Zero", [ 1, "Option One", true, "my-class" ] ],
replaceAll: true,
loadUrl: "jselect.xml",
addOption: true,
addOptionUrl: "new-option.php"
});
Until I put up the comments...