Tuesday 6 July 2010

JQuery: Handling Combo/Select Box Events

JQuery LogoWhile creating a Namespace example yesterday, I needed the code to actually do something to provide a good example. So, the code created an example of how to manipulate an HTML combo/select box using JQuery. The key is to use the change event on the combo box to execute the code needed to update the list.



$('#ListSelect').change(Blue.gen.comboSelect);



Check out the example's source code for the details.

No comments:

Post a Comment