I am using a form and on different actions I am filling the form fields with data on different actions just calling em by their ID. Now for drop down, how will select a value from the options via javascript?
it's very simple. you have the select: <select name="myselect"> <option value="1">option1</option> <option value="2">option2</option> </select> and from js you can select an option like this: form.myselect.value = "1";
Hey Slash, i tought it was more something like this : myselect.selectedIndex = 1; I don't think u can change the list bij just setting the value property. good luck!