HI
I have two selct lists
Code:
<select name="s1" id="s1">
<option value="1">sample 1</optopn>
<option value="2">sample 2</optopn>
</select>
Code:
<select name="s2" id="s2">
<option value="3">sample 3</optopn>
<option value="4">sample 4</optopn>
</select>
and a button
Code:
<input name="button" type="image" src="looseSub.gif" onclick="looseSubSection(); return false;">
I want my js function looseSubSection() to remove selected option from s1 and place in s2 and show that change on the page
I have been messing createElement but have had not joy. I've now read that createElement is not used in IE... I've been at this a couple of hours now and so thought some one could set me straight how to do.
Mych appreciated
steve
|