?
Solved

double datepicker calendar

Posted on 2011-03-16
8
Medium Priority
?
766 Views
Last Modified: 2012-05-11
i need a jquery double datepicker calendar
ya know - one that shows 2 months at a time

it would be nicke if i could specify how many calendars to show at a time like datePickerController.create(2) for ex
0
Comment
Question by:dgrafx
  • 4
  • 4
8 Comments
 
LVL 40

Expert Comment

by:Gurvinder Pal Singh
ID: 35145008
0
 
LVL 40

Expert Comment

by:Gurvinder Pal Singh
ID: 35145010
0
 
LVL 25

Author Comment

by:dgrafx
ID: 35146703
gurvinder
you were up early!
I'm at work now so cant access the first link you posted - something to do with security ???

can you provide some working sample code please.
I looked at the link and it's not immediately apparent how to use with form input field.
would want calendars to be hidden until form field focused or a calendar icon clicked also of course.

thanks
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 40

Expert Comment

by:Gurvinder Pal Singh
ID: 35146901
0
 
LVL 25

Author Comment

by:dgrafx
ID: 35147008
ok - so i saw this link ...
i'm really new to jquery and it is not apparent to me how to call this with a form field as i stated above.

thanks
0
 
LVL 40

Accepted Solution

by:
Gurvinder Pal Singh earned 2000 total points
ID: 35147031
$( "#dateInputField" ).datepicker({ numberOfMonths: [2, 3] });

where dateInputField is the id of the input field

<p>Date: <input id="dateInputField" type="text"></p>
0
 
LVL 25

Author Comment

by:dgrafx
ID: 35147591
ok - just get js error - object doesn't support that property or method
could you post a complete example please for just one input box

thanks
0
 
LVL 25

Author Comment

by:dgrafx
ID: 35148108
ok - it works now!
don't know what was up - thanks!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have answered several questions lately that were solved utilizing the power of jQuery's AJAX functions, so I thought I would write an article demonstrating the ease of use. Why should I use jQuery as opposed to regular JavaScript? Now I know…
In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question