By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,377 Members | 1,697 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,377 IT Pros & Developers. It's quick & easy.

Selecting an item in an OPTION group in Javascript?

P: n/a
I get straight to the point...

I need to select an item in an option group when a form loads.
Its a PHP form which will have a value sent in when the form loads.
This value is assigned to a Javascript value in the ONLOAD event. I
then need to select an item in a OPTION group which has been poulated
from a SQL query.

I am guessing somehow you can dynamically set the 'SELECTED' property
of the OPTION box for the value I want to select but I don't know the
syntax (Im'e not that hot at Javascript!)

Any help would be gratefully appreciated..

Sep 3 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a

I searched the group right after posting this request and found the
answer right away!!!!!!

Please ignore.....

Sep 3 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.