Hi,
Have this working on other projects but havent used in a while - my problem is 's' is displayed as [object] instead of dropdown 'x_typeid' value and I dont know why
form head looks like
Have this working on other projects but havent used in a while - my problem is 's' is displayed as [object] instead of dropdown 'x_typeid' value and I dont know why
Code:
function moveidwarr(){
var s = document.fzresponseadd.x_typeid;
document.fzresponseadd.x_emailtext.value = s;
}
[code]
x_typeid is got from this dropdown...
[code]
<select id='select' name='x_typeid' title='' onchange = 'moveidwarr()'>
<option value="" selected>
Please Select</option>
<option value="2">
Email</option>
<option value="3">
Fax</option>
<option value="1">
Phone</option>
</select>
form head looks like
Code:
<form name="fzresponseadd" id="fzresponseadd" action="zresponseadd.asp" method="post" onSubmit="return ew_ValidateForm(this);">