Abundant Technologies - IT Consulting Experts

 Source Code Library

 Code Details

     
<%@ Language=VBScript %> <% Dim varDate1, varDate2 If Request.Form("Submit") = "Submit" Then 'server script to remember selected date on submit varDate1 = Request.Form("month")(1) & "/" & Request.Form("day")(1) & "/" & Request.Form("year")(1) varDate2 = Request.Form("month")(2) & "/" & Request.Form("day")(2) & "/" & Request.Form("year")(2) '**************************************************** 'Add routines to save date information here '**************************************************** Else '**************************************************** 'First time displaying page load default dates here '**************************************************** varDate1 = "7/4/1960" varDate2 = "12/31/1999" End If %> JavaScript Date Selector Date1:

Date2:

Change date and the day field will automatically be reset.
Only valid days can be sent to the server when using this script.
Multiple selectors can be referenced by Request.Form.Key(index)



<% Dim i If Request.Form.Count > 0 Then Response.Write("Request.Form elements
") End If For i = 1 to Request.Form.Count Response.Write(Request.Form.Key(i) & " = ") Response.Write(Request.Form.Item(i) & "
") Next %>

Mail To: info@3pc.com