Hi,
here is the javascript i'm using,
<script language="JavaScript">
<!--
function PostBack(Object)
{document.form1.yourTextField.value=Object.value}
//-->
</script>
here is the option list,
<select name="frm_agency" onClick="PostBack(this)">
<option value="1">OPTION1</option>
</select>
What I want to do is return the Option content ie 'OPTION1' into document.form1.yourTextField and not the value, how can I do this? any help would be greatly appreciated.
here is the javascript i'm using,
<script language="JavaScript">
<!--
function PostBack(Object)
{document.form1.yourTextField.value=Object.value}
//-->
</script>
here is the option list,
<select name="frm_agency" onClick="PostBack(this)">
<option value="1">OPTION1</option>
</select>
What I want to do is return the Option content ie 'OPTION1' into document.form1.yourTextField and not the value, how can I do this? any help would be greatly appreciated.