[thelist] javascript forms

Feingold Josh S Josh.S.Feingold at irs.gov
Mon Feb 25 07:24:00 CST 2002


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
> But this will work in IE only right?

As far as I know innerHTML is proprietary Microsoft, so it will only work in
IE or other browsers that support the method.  This would exclude NN.

>>The only problem is when I use this:
>><option value=two selected>Two
>>Then the second dropdown doesn't show when you load the page.

I assume you mean that when you refresh the page and the dropdown is on two
it doesn't show.  If so, call the event from the body tag like this so the
Javascript fires when the page is loaded.

<body onLoad=showselectbox()>

Note that it will refresh with the default selection in the second box,
though.

HTH,
Josh



--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !



More information about the thelist mailing list