<select name="aaa" onchange="if (1 == this.selectedIndex) alert('ddd');"> <option>1</option> <option>2</option> <option>3</option> </select>