Simple field validation
By Jamsi • Feb 17th, 2006 • Category: JavaScriptI had a need to check if a dropdownlist equaled 0 and if so, alert the user! This was useful to ensure the user had selected something OTHER than the default “select” item.
HTML
- select -
Item1
Item2
Item3
Javascript

