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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

date picker

Status
Not open for further replies.

Shloimy

Programmer
May 11, 2001
9
0
0
US
I am using the famous date-picker.js in my asp page where you select a date and it puts it in a text box for you. It all works good except that when i try to do an onchange it wont listen to it. its as if when the script puts the date in the box its reinitializing it. I need to call an onchange command here PLEASE ANY SUGGESTIONS????
 
First of all why you would need an onchange event?
Im not shure if that JS file wont cancel your object onchange event.

________
George, M
 
I use it to set the value of the text box after the page is submitted. When I do the onchange i set the value and when the page returns it comes back with that value.
 
Well, if you want to keep the value of that text box, you can do something like:

myDate = Request.Form("txtDate")

and set the value of txtDate = myDate:

<input type=&quot;text&quot; name=&quot;txtDate&quot; value=&quot;<%=myDate%>&quot;>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top