Say I have a form with this field, I'm testing with this.
<form method="POST" name="form" action="--WEBBOT-SELF--">
<p><select size="4" name="list" class="daf">
<option selected value="sfsdf">sfsdf</option>
<option value="s">asdfasdf</option>
<option value="asdfsadf ">asdfsadf</option>
<option value="sadfasdf">sadfasdf</option>
<option value="asdfsadfsadf">asdfsadfsadf</option>
<option value="asdfsadfasdf">asdfsadfasdf</option>
<option value="ssadfsadf ">ssadfsadf </option>
</select></p>
<p><input type="button" onclick="highlight();" value="Button" name="B1"></p>
</form>
I want all of the options in the box to highlight when you click on the button. I've tried everything my newbie mind could think of but I'm getting really frustrated and I ask for you help
Thanks A Lot,
Tony
Tony
tony@seeki.com
Experienced In: Perl, JavaScript, C++, PHP
Want More Experience In: Pascal, Python, PHP More C++