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!

Search results for query: *

  1. kingpoop

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

    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...
  2. kingpoop

    I am confused about working with javascript dates

    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=&quot;javascript&quot;> var now = new Date(); var day = now.getDate(); var month =...
  3. kingpoop

    How do i pass an asp variable to a javascript function?

    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=&quot;Status&quot; ACTION=&quot;security.asp&quot; METHOD=&quot;post&quot...
  4. kingpoop

    How do i simulate the math FLOOR operation?

    Does anyone know how to simulate the Floor function in VBScript? thx
  5. kingpoop

    Does javascript have a DateSerial function?

    I was wondering how best to work with dates in javascript? does js have date functions similar to vbscript? thanks kp
  6. kingpoop

    How do I pass values from &lt;%asp%&gt; vars to client?

    Worked :) thank you very much.
  7. kingpoop

    How do I pass values from &lt;%asp%&gt; vars to client?

    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(&quot;FieldName&quot;).Value ... %> <SCRIPT Language=&quot;vbscript&quot;> How can I reference the myVar...

Part and Inventory Search

Back
Top