Hi all,
I've not had much luck getting any responses from my previous posts, but managed to figure stuff out. Now I'm really stuck! Any help at all would be great....
I'd like to use a SELECT dropdown, and pass the value selected to the VALUE attribute of a table on the same page. The following is code which doesn't work!!!
[HTML]<script type="text/javascript">
function updateValue() {
document.getEle mentById('RETUR N).value = document.getEle mentById('selec tField').value;
}
</script>
[/HTML]-------------
[HTML]<select name="condition s_list" id="selectField " onChange="updat eValue();">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
[/HTML]--------------
[HTML]<span class="style1"> <span class="style5">
<span style="color: rgb(255, 0, 0);">BOX1</span><input
name="box1[]" value="RETURN" type="checkbox" >
</span></span><br>
[/HTML]
Thanks!!!
I've not had much luck getting any responses from my previous posts, but managed to figure stuff out. Now I'm really stuck! Any help at all would be great....
I'd like to use a SELECT dropdown, and pass the value selected to the VALUE attribute of a table on the same page. The following is code which doesn't work!!!
[HTML]<script type="text/javascript">
function updateValue() {
document.getEle mentById('RETUR N).value = document.getEle mentById('selec tField').value;
}
</script>
[/HTML]-------------
[HTML]<select name="condition s_list" id="selectField " onChange="updat eValue();">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
[/HTML]--------------
[HTML]<span class="style1"> <span class="style5">
<span style="color: rgb(255, 0, 0);">BOX1</span><input
name="box1[]" value="RETURN" type="checkbox" >
</span></span><br>
[/HTML]
Thanks!!!
Comment