Home / JavaScript Tutorials / I'll have a double combo please II |
CodingForums Jump to...
- CSS Drive
- JavaScript Menus - PHP Resources - Hotels & Vacations - Java Online Casinos - Web hosting Search |
In this final section of our tutorial, we'll see how to implement a rather jumpy add-on to a combo box- the ability to go to the specified URL in a combo box simply upon selecting it. The secret to making this happen lies in the onChange event handler. The onChange event handler is inserted inside the select tag, which reacts to the surfer changing the selection inside the combo box. Let's As you can see, all we really did here is add a onChange event to the select tag, which causes In this tutorial, we've learned how to implement many of the little "gadgets" commonly used with existing combo boxes. Regardless of how you implement a combo box, bear in mind that it is only compatible with NS 3+, and IE 4+. It is NOT compatible with IE 3.x nor NS 2.x, due to the fact that these browsers do not support the options property required to access the individual entries in a <select> tag. -Tutorial introduction |
. http://javascriptkit.com |