?
Solved

double datepicker calendar

Posted on 2011-03-16
8
Medium Priority
?
763 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 40

Expert Comment

by:Gurvinder Pal Singh
ID: 35145008
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
Is Your Team Achieving Their Full Potential?

74% of employees feel they are not achieving their full potential. With Linux Academy, not only will you strengthen your team's core competencies but also their knowledge of of the newest IT topics.

With new material every week, we'll make sure that you stay ahead of the game.

 
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

Create CentOS 7 Newton Packstack Running Keystone

A bug was filed against RDO for the installation of Keystone v3. This guide is designed to walk you through the configuration for using Keystone v3 with Packstack. You will accomplish this using various repos and the Answers file.

Question has a verified solution.

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

What is a Lightbox? A Lightbox is the effect you see when you click, for example, an image and the screen fades out and up pops the same image but in its full size dimensions. There are lots of Lightbox effects for jQuery. Problem is they are a…
How to build a simple, quick and effective accordion menu using just 15 lines of jQuery and 2 css classes
The viewer will learn how to dynamically set the form action using jQuery.
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)
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

765 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