Tagged Questions
0
votes
2answers
36 views
How to show the selected date in datepicker?
I'm Working with Asp .net MVC3.i'm having a text box with a datepicker image that textbox having a date filled in it.when i click select the datepicker image the popped up datepicker has to be ...
0
votes
1answer
59 views
Jquery Datepicker - How to hide clear and “step” buttons?
I inherited a project for a client. The client doesn't want to have the "clear" buttons and the "step" (which increments the day/month/year by one) shown anymore. I can't figure out how to make these ...
0
votes
1answer
68 views
Remove the last days from the previous month datepicker
I have two calendars and I would like to use them without displaying the last days of the previous month.
How can I get rid of the extra row? I looked into Datepicker's API, but I couldn't find ...
0
votes
0answers
276 views
jQuery Date Range Picker From Handling
What is the best way to put the "Start" and "End" date of the jQuery Date Range Picker into a hidden form input field.
$('#form-date-range').daterangepicker({
ranges: {
'Today': ...
1
vote
1answer
223 views
Ui datepicker from date and to date should be selected in the same month
I am using jquery Ui Date picker , i am struck with strange requirement given by client, help me in going forward.
In my scenario, i have two date pickers*(from,to Date)* ,now the requirement is i ...
1
vote
2answers
773 views
jQuery UI Datepicker Month & Year Menus Only Work Once
I'm using jQuery UI's month and year menus. Here's what's happening and where I'm running into an issue:
Click the date field
Change the month dropdown to Jan
Change the year dropdown to 2003
Click ...
0
votes
1answer
354 views
jQuery datepicker not opening up on focus
Heres my scenario: I have an index page with 2 radio buttons on it and a span area for results. When one of the radio buttons are clicked, the span fills up with an ajax generated page that has an ...
0
votes
1answer
393 views
Jquery Validation Engine with datepicker not works on server, but works in local
I use Validation Engine in user register form. When enter Birthday I use date picker. Validation is binded to blur event. that is why when calendar opens and I select year, message appears. To fix ...
1
vote
1answer
1k views
jquery datepicker after setDate no longer able to change Month and Year in the header
I'm using the JQuery UI Datepicker to pick date.
I set "changeMonth" and "changeYear" to true at the initialization.
$( "#from" ).datepicker({
defaultDate: "+1w",
changeMonth: true,
changeYear: ...
0
votes
0answers
196 views
Access jQuery UI datepicker cell on beforeShowDay
I would like to be able to add a data attribute to a cell of a jQuery UI datepicker. I've looked into using the beforeShowDay, but it appears to only give the date. Is there an efficient way to select ...
0
votes
1answer
512 views
datepicker with range validation as well as with default date showing in textbox as today
$(function() {
var d = new Date();
$("#Start_validBeforeDatepicker").datepicker(
{
defaultDate: d,
numberOfMonths : 1,
showButtonPanel : true,
onClose : ...
0
votes
0answers
88 views
How can I select from and to dates in inline calendar via hovering over the dates?
There are some needs in my Calendar.
I want to display four months in a page (inline calendar)
when I click on one date it will show it selected (#fromDate) and then it will highlight the next dates ...
0
votes
2answers
521 views
how to add no of weeks to jquery ui datepicker?
This is my jsp page and in that i am using date picker but instead of range from two date picker i just want to use week .if i have select start date and then i have to write no of weeks and then how ...
0
votes
1answer
355 views
Simple ui datepicker do not works
I have problems with this datepicker http://jqueryui.com/demos/datepicker/
<script>
$(function() {
$( "#datepicker1" ).datepicker({ dateFormat: 'yy-mm-dd' });
});
...
0
votes
2answers
1k views
JQuery datepicker not updating hidden field on .blur
I'm updating a hidden field, #start, with two fields: a text field (that is used for time) and a datepicker field. However, when I select a date using datepicker and there is nothing in the time ...
1
vote
0answers
427 views
JQuery Datepicker throws a random Type Error
I got an JQuery Datepicker Issue,
on around every 50th page reload i get an error message, when i want to select an date from the JQuery Datepicker:
Uncaught TypeError: Object ...
0
votes
2answers
443 views
How to clone jquery datepicker?
I need to clone (to inherite) from datepicker jQuery object and override _generatedHTML method.
My code:
$.fn.datepickerExt = $.fn.datepicker;
var datepickerOldHTML = $.datepicker._generateHTML;
var ...
1
vote
3answers
1k views
jQuery UI Datepicker with date range,starting from current date
I am creating functionality for hotel events and I used jQuery UI datepicker to input two fields,
event start date and event end date.
So, as it seems I want to make the input of start to current ...
0
votes
1answer
388 views
Jquery UI_datepicker in Rails
I am relatively new to Rails but not to programming... I've spent way more time than is 'sane' to try to resolve this to no avail...
I am using Ruby 1.92, Rails 3.1, formtastic 2.1 w/ the ...
0
votes
1answer
1k views
Jquery UI date picker with reservation dates (Date range)
I have used Jquery UI date picker in two fields ie book_from and book_to for reservation.
When I get focus on book_from only the dates less than book_to and dates greater or equal to today's date ...
0
votes
2answers
442 views
Adding datepicker event handler multiple times
Using jQuery I'm trying to add the datepicker event handler to an input element.
<div id="Box_tmpl" style="border:solid 1px #777; background:#ddd; display: none;">
<a ...
1
vote
2answers
3k views
Datepicker jquery parsedate language
So The problem is my language works for my calendar but not for the parsedate
Below is my code (i made this like the example on the site).
$(function(){
...
0
votes
2answers
2k views
Yii's JUIDatePicker widget not working for updates
I'm using Yii's zii.widgets.jui.CJuiDatePicker and have the following problem:
It works well when inserting a new record, or when updating a record with a NULL date.
But when I try to update a record ...
8
votes
6answers
23k views
jQuery Date Picker - disable past dates
I am trying to have a date Range select using the UI date picker.
in the from/to field people should not be able to view or select dates previous to the present day.
This is my code:
$(function() {
...
0
votes
2answers
385 views
Jquery UI Datepicker IE IndexOf error
I have this code on jsFiddle. http://jsfiddle.net/crashdesk/GbUZ9/
There appears to be a problem in IE7 where it throws an error:
Object doesn't support property or method 'indexOf'
For the life ...
-1
votes
2answers
598 views
jquery datepicker disable all other days except this weekend
I am having two datepickers "depart date" and "return date". Once the depart date is selected, I want to disable all the days except the weekend of depart date for "return date".
For example if I ...
4
votes
3answers
2k views
JavaScript Mimics of the iPad's UI (specifically, UIDatePicker and UIPicker)
Does anyone know a way to mimic the UIDatePicker and the even more general UIPicker iOS controls in HTML & JavaScript?
Does anyone know of a solution like this? I've seen JavaScript mimics of ...
1
vote
2answers
8k views
Datepicker dynamic min / max dates
I'm using the jQuery datepicker plugin on a site I am building. I need users to be able to pick two dates from within a specified range of dates. This is straightforward enough to do.
The problem is ...
2
votes
3answers
4k views
jQuery UI Datepicker - allow only certain weekdays
I'm using jquery UI datepicker on a huge project and I realize now that I'll need to allow only certain weekdays on some areas. I read their documentation and didn't find anything about it.. I know ...
3
votes
1answer
2k views
exclude weekends to be clickable on jQuery datepicker
I would like to prevent the user from clicking on saturdays/sundays (week-ends) when he selects a date using the jQuery UI datepicker widget.
Is there a way to accomplish this? If not, which are the ...
0
votes
1answer
328 views
How do I use jQuery UI's Datepicker not in a form, but to set the parameter for a link?
I have a link to a page on my site that has a data parameter in it. I want to use jQuery UI's Datepicker to set the parameter for the link. I've used Datapicker before, but only in forms. Is there a ...
2
votes
1answer
518 views
How to validate the Jquery UI- Calendar plugin?
I have used JqueryUI plugin- date picker to display my date.
The format is such that it has Fromdate & Todate.
If I select fromDate: for example 09/28/2010 and
If I select toDate: for example ...
1
vote
2answers
1k views
Yii's CJuiDatePicker doesn't work for me
I copied the Yii documentation's example for CJuiDatePicker:
$this->widget('zii.widgets.jui.CJuiDatePicker', array(
'name'=>'publishDate',
// additional javascript options for the date picker ...
0
votes
1answer
634 views
Page content disappears when showing jQuery UI datepicker in IE7
I'm using jQuery UI:
<script type="text/javascript" src="/jscripts/jquery-1.4.min.js"></script>
<script type="text/javascript" ...
2
votes
1answer
1k views
Update multiple inputs with altField in Datepicker
Can someone please tell me the correct way to modify the following:
$("#datepicker01").datepicker({
numberOfMonths: 2,
minDate: dd,
maxDate: '+1M +31D',
hideIfNoPrevNext: true,
altField: ...
0
votes
1answer
1k views
How to modify the style of jQuery DatePicker's disabled dates?
Given this page:
http://jqueryui.com/demos/datepicker/#min-max
And viewing its source:
http://jqueryui.com/themeroller/css/parseTheme.css.php
I can change the following line (using Chrome's inspect ...
1
vote
1answer
1k views
Jquery UI Datepicker Date Range Inline Problem
Hey Guys,
i have a big Problem with jQuery UI Datepicker.
I have two Input Fields "From Date" and "To Date". When i choose a From Date - a Daterange of only 5 Days should appear on the "To Date" ...
14
votes
13answers
31k views
Jquery UI Datepicker not displaying
UPDATE
I have reverted back to Jquery 1.3.2 and everything is working, not sure what the problem is/was as I have not changed anything else apart of the jquery and ui library versions.
UPDATE END
I ...
5
votes
3answers
47k views
getDate with Jquery Datepicker
i am trying to get date from my implementation of jquery date picker, add it to a string and display the resulting image in my div. Something however is just not working. Can anyone check out the code ...
2
votes
2answers
3k views
Extending the Google CDN version of jquery to add datepicker
I'm using jqueryUI solely for the datepicker feature. It's great if you can get away with using plain jquery because then you can import it from Google's CDN, which is potentially faster than your own ...
6
votes
6answers
11k views
Why jQuery UI datepicker can't works in jQuery dialog modal?
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 ...
2
votes
1answer
7k views
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 ...