Chat LIVE With Programming Experts! There Are 23 Online Right Now...

Welcome to Dream.In.Code
Become an Expert!

Join 244,267 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,189 people online right now. Registration is fast and FREE... Join Now!




I try to make a calendar(DATE PICKER) for the date drop downs menues

 
Reply to this topicStart new topic

I try to make a calendar(DATE PICKER) for the date drop downs menues, can you help me in one of these DATE PICKERs ?

lse123
1 Dec, 2008 - 09:12 AM
Post #1

New D.I.C Head
*

Joined: 26 May, 2008
Posts: 8

My hp's http://www.poliscarhire.com/index.php code is in
http://www.poliscarhire.com/test/code-hp.htm

well I try to make a calendar(DATE PICKER) for the date drop downs[on the Left hand side], I try to use either

http://www.yxscripts.com/xc2/index.html
http://www.yxscripts.com/xc2/examples/autohide.html [this I want]

or

http://www.dynarch.com/demos/jscalendar/
http://www.dynarch.com/demos/jscalendar/simple-1.html [this I want]

but these do NOT fill drop downs but textboxes, I try to make it unsuccessfully,

can you help me in one of these DATE PICKERs ?

In my case i have two trios of select lists (so two links for select date dialog boxes-pickers) I guess i will assign results to

document.forms.book.pickUpDay.value = ????
document.forms.book.pickUpMonth.value = ????
document.forms.book.pickUpYear.value = ????

document.forms.book.dropOffDay.value = ????
document.forms.book.dropOffMonth.value = ????
document.forms.book.dropOffYear.value = ????

How this ? where I must call assign function ?

User is offlineProfile CardPM
+Quote Post


xerxes333
RE: I Try To Make A Calendar(DATE PICKER) For The Date Drop Downs Menues
1 Dec, 2008 - 11:31 AM
Post #2

D.I.C Regular
Group Icon

Joined: 5 Jul, 2007
Posts: 430



Thanked: 23 times
Dream Kudos: 25
My Contributions
From what I can gather, the working examples you have posted pass a string value back to a textbox input element. You have two options here, you can either take existing code and parse the returned string into each dropdown, or you can modify the code to set each dropdown individually as the date is selected. Unfortunately the link that you posted to the code is a bit much and I don't plan on digging through it. I suggest you post the specific portion of the code that you are having trouble with.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 7/4/09 12:49PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month