I would like to declare a date var in
asp and pass it to a javascript function.
I am struggling, thanks for help.
kp
function validatePersonalInfo(form,szDate)
{
alert(szDate)
}
<%
MyDate = Now()
%>
<FORM NAME="Status" ACTION="security.asp" METHOD="post" onSubmit="return validatePersonalInfo(this,???)">
asp and pass it to a javascript function.
I am struggling, thanks for help.
kp
function validatePersonalInfo(form,szDate)
{
alert(szDate)
}
<%
MyDate = Now()
%>
<FORM NAME="Status" ACTION="security.asp" METHOD="post" onSubmit="return validatePersonalInfo(this,???)">