Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple question

Status
Not open for further replies.

sucram

Programmer
May 23, 2001
75
GB
Hi I am very new to javascript and only using it for basic stuff. I am trying to include the content of an array in a call to a form but I am not sure of the syntax.

Could someone please tell me how the line below should be written.(paramNames and paramIndexes are my arrays)

form.paramNames.options[paramIndexes].selected = true;

Thanks,
Marcus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top