Hello,
I was wondering if it is possible to set the value
of an asp server-side variable inside of a client-side
vbscript block.
<SCRIPT Language="vbscript">
Dim iRecordCount
iRecordCount = <%=rsPayments.RecordCount%>
If iRecordCount > 300 Then
<%MyAspVar%> = iRecordCount...
Hi, I don't understand why the month
portion of the code below produces a
month of 2 instead of 3. Can anyone
help me understand why this is happening?
Thank you for your help
kp
<script language="javascript">
var now = new Date();
var day = now.getDate();
var month =...
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"...
Is it possible to pass data between server-side
asp variables and client-side vbscript of javascript
variables?
For example:
<%
...
Set adoRst = Command.Execute
myVar = adoRst.Fields("FieldName").Value
...
%>
<SCRIPT Language="vbscript">
How can I reference the myVar...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.