Solved

double datepicker calendar

Posted on 2011-03-16
8
750 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:gurvinder372
ID: 35145008
0
 
LVL 40

Expert Comment

by:gurvinder372
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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 40

Expert Comment

by:gurvinder372
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:
gurvinder372 earned 500 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
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…

856 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