Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is it possible to set a server side variable in client-side vbscript?

Status
Not open for further replies.

kingpoop

Programmer
Sep 11, 2001
7
US
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=&quot;vbscript&quot;>
Dim iRecordCount
iRecordCount = <%=rsPayments.RecordCount%>
If iRecordCount > 300 Then
<%MyAspVar%> = iRecordCount
End If
</SCRIPT>

Thank you for your help.
kp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top