• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 775
  • Last Modified:

double datepicker calendar

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
dgrafx
Asked:
dgrafx
  • 4
  • 4
1 Solution
 
Gurvinder Pal SinghCommented:
0
 
dgrafxAuthor Commented:
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
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
Gurvinder Pal SinghCommented:
0
 
dgrafxAuthor Commented:
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
 
Gurvinder Pal SinghCommented:
$( "#dateInputField" ).datepicker({ numberOfMonths: [2, 3] });

where dateInputField is the id of the input field

<p>Date: <input id="dateInputField" type="text"></p>
0
 
dgrafxAuthor Commented:
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
 
dgrafxAuthor Commented:
ok - it works now!
don't know what was up - thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now