Hi,
I want to display a value in a textbox based on the value of a selected rdo button. This is what I have so far but it didn't work.
<td><input type="radio" name="rdoDate" value="somevalue" onclick="call WhichOne>somevalue</td>
<td><input type="radio" name="rdoDate" value="nextvalue" onclick="call WhichOne>nextvalue</td>
<td><input type="text" name="txtDate" value="<%=Request("rdoDate"
></td>
<script language="VBScript">
Function WhichOne
form1.txtDate.value = from1.rdoDate.value
End Function
</script>
When a button is clicked, I got "error on page"
Can someone plase show me what I'm doing wrong here.
Thanks
I want to display a value in a textbox based on the value of a selected rdo button. This is what I have so far but it didn't work.
<td><input type="radio" name="rdoDate" value="somevalue" onclick="call WhichOne>somevalue</td>
<td><input type="radio" name="rdoDate" value="nextvalue" onclick="call WhichOne>nextvalue</td>
<td><input type="text" name="txtDate" value="<%=Request("rdoDate"
<script language="VBScript">
Function WhichOne
form1.txtDate.value = from1.rdoDate.value
End Function
</script>
When a button is clicked, I got "error on page"
Can someone plase show me what I'm doing wrong here.
Thanks