jquery-datepicker

jquery datepicker onChangeMonthYear

I am using the jquery ui datepicker in my app. I have created an inline datepicker. I am having a problem with onChangeMonthYear. I have simplified the example to bare minimum. Onclick of "prev" or "next", the calendar should: - Go to the previous/next month accordingly. Set the first day of that month as the current selected date. al...

jQuery Datepicker: Prevent closing picker when clicking a date

Hi fellow stackoverflow:ers, I'm using the jQuery Datepicker plugin, together with Martin Milesich Timepicker plugin. Everything works great, except for the fact that clicking a date in the datepicker, closes the widget, leaving no time to pick the time. Question: So I'm wondering if there's a way to prevent the widget from closing wh...

ASP.net - Using a jQuery datepicker in a custom control

I'm trying to use the jquery datepicker - http://jqueryui.com/demos/datepicker/ in a custom control (.ascx). To enable the datepicker, I need to add the following script at the top for an input: $("#dateinput").datepicker({}); The problem is, that the id of the element changes when the custom control is on a page. When the custom con...

jQuery UI Datepicker and bassistance.de validation plugin problem

I have the jQuery UI Datepicker and the bassistance.de validation plugin working except for one problem. When a date is selected with the date picker, it causes a validation error even though the date is correct. I have tried it on different sites and I get the same problem. It doesn't cause a validation error when you click submit. ...

getting jQuery UI's datepicker to always open in a certain direction?

I'm using jQuery UI's datepicker control in a position: fixed toolbar at the bottom of my page. Occasionally, on random computers, the datepicker appears below the toolbar, which means it's off the page and impossible to view or interact with. Is there a way to force the positioning of the datepicker control to always be above and to th...

How can I use Jquery Datepicker to highlight with befereshowday two different kind of special dates?

I mean, I found here a way to disable an array of nationalDays. I'm trying to make a code to disable the national days and also to highlight some other days (I'm coding a web app and I will pass another array of days) but to let them enabled. Imagine a calendar where you can see three different day colors. The first one, today's date. ...

Are there any modifications to the jQuery UI datepicker which adds time selection?

Are there any modifications to the jQuery UI datepicker which adds time selection? I googled and I found this, but I don't really like the sliders... Is there something else? Thanks. ...

jQuery UI Datepicker - How can i, on select, highlight a particular range of dates?

I want to, when the user selects a date, highlight the following 11 days. The intention is to show a 12-day range selected depending on whatever day was chosen. I've seen the "date range picker" from http://www.filamentgroup.com/ suggested, but this doesnt really give me the visualization i want, it just lets a user pick a range (from/t...

Using append to create multiple instances of datepicker

I have managed to get multiple instances of a jQuery datepicker working fine using a commonly used technique (can't post link as only allowed 1 link as a new user) The uploaded image probably explains better what I am trying to achieve, using the append function I'd like to duplicate a row (with all input fields for the new row blank) w...

jQuery datepicker not appearing, race condition?

Hello everyone, I formerly had my datepicker appearing when I was applying it to a static element, but for some reason I can't get it to work dynamically. Under certain configurations, it works if I pop up an alert box first. What is wrong? div.load(url, function() { div.children().each( function(){this.datepicker({dateFormat:"yy-m-d"...

prevent autodropdown by jquery datepicker

hi when I append jquery datepicker to my asp textbox, by clicking on it, my browser auto shows the history of the dates i typed in a dropdownlist. Can I prevent this? Set textbox to readonly isn't a good idea because asp.net doesn't read the values from read only fields in code behind. any other ideas? thank you and best regards. ma...

.datepicker('setdate') issues, in jQuery

Hi, I have a function that executes a query to get some data based on a certain date range which is selected using .datepicker(). I am trying to set the datepicker's that are in the response data back to the date range which was selected before the query was executed. queryDate = '2009-11-01'; $('#datePicker').datepicker('setDate', qu...

Why doesn't my jQuery UI datepicker work for postbacks when it works fine on initial page loads?

I've been trying to integrate the jQuery UI Datepicker into our ASP.NET WebForms application. The application uses master pages to provide a common look to all pages, and all of the content pages are built inside the ContentTemplate of an UpdatePanel. I've created a user control to wrap the datepicker's functionality and allow setting ...

jQuery date picker refuses to work

Hey, any ideas why this wont work, when i click on the input fields, nothing happens. Here is the code: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;&lt;/script&gt; <script type="text/javascript" src="js/ui.datepicker.js"></script> <script type="text/javascript" charset="utf-8">...

jQuery: datepicker alternative

hi all, is there a better, smaller alternative to the jQuery datepicker? the ui.datepicker.js has app. 70kb which is pretty huge imo. could it be compressed? thx ...

typing date into jquery datepicker

Hi, besides being able to select a date from jQuery datepicker widget I also want to be able to type a date into the datepicker's textfield. But every time I type a date and hit enter, datepicker overrides my entry with today's date. I can't figure out how to have datepicker accept typed in entry. thanks, martin ...

Adjust jQuery datepicker selected date

I need to adjust a date selected in jQuery's datepicker. For example, whatever user chooses, change to closest weekend. Is there a way to do this? Some validation / filtering support. Or maybe it can be done with a help from some other validation library that will track text in the text box, not the datepicker value? ...

Combine datepicker and date.js

Has anyone combined the JQuery Datepicker and Date.JS together in one control. I have found several posts alluding to this but have not found any examples of how it is done. I found this http://marcgrabanski.com/article/datejs-javascript-library but then the trail goes cold. Has there been any movement on this? Any pointers would be u...

Why jQuery UI datepicker can't works in jQuery dialog modal ?

Hi, I want to use jQuery UI datepicker in one of my text inputs. This one is in a dialog modal. In fact, I can call datepicker in the normal document text inputs and i got my calender normally but I can't do that in dialog modal text inputs (after clinking inside modal text input I got nothing without any JavaScript error). This is my...

jquery date picker split into multiple fields

I have the usual Jquery datepicker working fine. But I want to feed it into a set of selectboxes rather than one textfield. I have had success feeding it into one select field with a specific format but am unsure how to feed all three into different fields with different formats. $(document).ready(function(){ $("#search_startdate")....