Demonstration of a dynamic SELECT tag

This demo shows how to modify the list of options for a SELECT tag in an HTML form.

The JavaScript code is sufficient to change the list of options of a SELECT. Ajax allows the code to load a predefined list or to save the new modified list.




Option

Remove the selected option

Move up in the list the option

(Disabled in the online demo on Xul.fr)



(c) 2009 Xul.fr - GPL 3 license. - The article.