On Tue, Jun 24, 2008 at 11:59 AM, Walter Conti <[EMAIL PROTECTED]> wrote:
> Although the purpose of a listbox is to initially hide the options, I would
> like to drop, open, the select element onFocus(). Any way of doing it with
> JS, Java?
> Thanks for helping.
<select name="foo" id="foo" onfocus="this.selectedIndex=4;">
<option value=""></option>
<option value="a">a</option>
<option value="b">b</option>
<option value="c">c</option>
<option value="x">I am selected!</option>
<option value="d">d</option>
</select>
?
--
A byte walks into a bar and orders a pint. Bartender asks him "What's
wrong?" Byte says "Parity error." Bartender nods and says "Yeah, I
thought you looked a bit off."
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308075
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4