PDA

View Full Version : is there any problem to innerHTML between <select> </select>


frontline
11-11-2002, 03:46 PM
Hello
is there only way to totally replace the <option>'s inside the select is by creating them?
can't i just innerHTML premade string of options inside the select object?

frontline
11-11-2002, 03:52 PM
ok one more question , can i get all the object + its inside objects with innerHTML ?
i mean .. if i have :
<select name="foo" id="foo">
<option></option>
<option></option>
<option></option>
</select>
i will like to have all of the select as string and not only its options ..that is what im getting if i use
foo.innerHTML.
thanks