aleks1429
12-19-2006, 12:29 PM
i am trying to pass variables to a Reload function on my ASP page.
the function goes something like this:
reload(form, strUserName,strPwd)
vbs that is calling the function is as follows:
Response.Write "<form method=post name=myFrame action=Main.asp target=Nav><select name=CodeName onchange='reload(this.form,strUserName,strPwd)'><option value=''>Select Property</option>"
Once, i try to render the page, I am getting an error that strUserName and strPwd are not defined.
How can this be fixed?
Thanks
the function goes something like this:
reload(form, strUserName,strPwd)
vbs that is calling the function is as follows:
Response.Write "<form method=post name=myFrame action=Main.asp target=Nav><select name=CodeName onchange='reload(this.form,strUserName,strPwd)'><option value=''>Select Property</option>"
Once, i try to render the page, I am getting an error that strUserName and strPwd are not defined.
How can this be fixed?
Thanks