Saturday, September 24, 2011

onchange event color

<Body>

<form name='frm'>

Color:<select name='clr' onchange="chgclr(frm)">

<option value='red'>RED</option>

<option value='pink'>Pink</option>

<option value='green'>Green</option>

<option value='blue'>Blue</option>

<option value='cyan'>Cyan</option>

</select>

</form>

</body>

No comments: