The jQuery UI Datepicker is a highly configurable plugin that adds datepicker functionality to your pages
0
votes
1answer
13 views
How to format the date of jquery UI datepicker to 2013-05-26 12:41:07 format?
Using the jquery UI datepicker, I want to format the date value picked to a date and time in the format example 2013-05-26 12:41:07 which is the MySQL datetime value.
Does anyone know how I can do ...
1
vote
1answer
31 views
disabling weekends , holidays in jquery datepicker
I'm using jquery ui date picker for selecting the start date and end date of a leave.when a user tries to select the leave commencing date i'm disabling holidays and the leave days which are already ...
0
votes
0answers
17 views
disabling weekends , holidays and already applied leave days
I'm using jquery ui date picker for selecting the start date and end date of a leave.when a user tries to select the leave commencing date i'm disabling holidays and the leave days which are already ...
2
votes
2answers
29 views
jQuery datepicker changing format dosent show proper month
I am using jQuery datepicker for selecting date. But I need the date to be displayed like "April 2012".
To achieve this I added the following option to the datepicker code
$(function() {
...
0
votes
1answer
17 views
How to pass in event data for jQuery datepicker events
I am trying to pass event data to a jQuery datepicker event handler, for 'dataID':
input.datepicker({
onClose: function() {
var datePicker = jQuery(this);
...
0
votes
1answer
17 views
Knockoutjs and JQuery datepicker. Element looses datepicker after re-render
When i'm trying to use input with id "eventStartDate", after it was hidden, and made visible again - it looses datepicker:
<!-- ko 'if': isEvent.forEditing -->
<div ...
0
votes
0answers
6 views
jQuery UI datepicker : cannot highlight specific dates
I am creting an array with strings:
for (var i=0;i"); myNewDates[i] = allDatesJsArray[i]; ...
0
votes
0answers
18 views
Why does html5shiv break jQuery-UI Datepicker?
I'm using the jQuery-UI Datepicker. It works fine, until I add this:
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js" type="text/javascript">
...then it no longer works ...
0
votes
0answers
18 views
calendars picker uncaught type error
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/themes/south-street/jquery-ui.css">
<link rel="stylesheet" ...
0
votes
0answers
10 views
Session expires when using jQuery UI datepicker
I am using sessions in the administrative part of my website to check whether the user is logged in or not. My problem is that the session seem to expire suddenly.
I've tried to track down the ...
0
votes
1answer
38 views
Cant get what's the issue with Datepicker?
I'm using smarty template engine. I'm using datepicker js plugin. My HTML code is as follows:
<tr>
<td valign="middle" align="right"><b>From Date </b> : </td>
...
0
votes
2answers
57 views
jquery first Friday of the month
How to get first Friday of each month from jQuery Datepicker? I'm just enabling Friday's on Datepicker which is working perfectly however problem comes in when new month starts and date does not reach ...
-2
votes
2answers
31 views
How to Popup jQuery Datepicker with Hyperlink [duplicate]
I'm creating a website for mobile (using JQuery Mobile) and I need a date picker that opens when a user clicks on a hyperlink. When the user selects a date will it redirect the browser with the date ...
0
votes
0answers
54 views
Jquery datepicker - Select whole week when click on week number
I need two options on datepicker
when I click on day it should highlight this day (it's standard)
when I click on week number it should highlight whole week and get date from Monday to Sunday (also ...
0
votes
2answers
60 views
jQuery UI Picking a start and end date within range based on start date
I'm building a date picker in jQuery ui. What I'm trying to do is set a range, so when they pick the first date the second date appears and gives a 30 day window. I tried this but it doesn't work (it ...
0
votes
1answer
26 views
Why is my second “timepicker” not being populated?
This question is related to, but different from, this one: How can I add Seconds to my "timepicker"?
I'm using virtually identical jQuery code for two pairs of text input controls (a ...
0
votes
2answers
58 views
How can I add Seconds to my “timepicker”?
I'm using the jQuery-UI datepicker in this way:
var datepickerOpts = {
changeMonth: true,
changeYear: true,
showButtonPanel: true,
showWeek: true,
onClose: function(dateText, ...
0
votes
1answer
21 views
GetDate from datepicker of the other months
I need your help with a problem in Datapicker. I am starting works with JQuery, and I need to do an agenda, when the user click in some day of the calendar, I need get this date to capture all ...
0
votes
0answers
17 views
exclude weekend date picker drupal webform
Hi have tried to implement the examples here
jQuery Datepicker - Disable weekends / holidays and the next three working days combined to disable weekends and/or bank holiday dates for my date picker ...
0
votes
4answers
34 views
Can't find parent div using Jquery when using jquery datepicker plugin
I have used a jquery datepicker plugin in my site.I have written such that the calender is being shown only when the a tag is clicked.What is need is that,once i click a date in the calender i need to ...
0
votes
0answers
12 views
dd-mm-yy from jquery UI datepicker throwing error in c#
i'm using Datepicker and from it 25-06-1989(in dd-mm-yy format) value is coming in text box. But when i'm trying to convert this into c# DateTime its throwing error.
i used
...
2
votes
2answers
49 views
jQuery UI Datepicker weird behavior
I'm having a weird problem while working with a simple datepicker using jqueryUI. I simply want to show a two month calendar with LAST month and current month. I used this code:
$(function () {
...
0
votes
0answers
29 views
jQuery UI spawns second modal
I'm trying to add a datepicker to an input inside of a modal. The problem is that when I call it, it actually spawns a second modal which contains the input element I'm trying to assign a datepicker ...
0
votes
1answer
40 views
jQuery DatePicker - dates have to be one day apart, but there's a bug if the start date is tomorrow
I'm using jQuery DatePicker to ensure that a departure date is at least 1 day after an arrival date. I got the code to do this from this question.
However, I've just noticed that if I choose tomorrow ...
3
votes
1answer
58 views
Jquery Datepicker returning Monday-Friday only
What I'm trying to do:
I'm trying to create a datepicker that when a date is selected it will return a date 2 days or 48 hours later, only during a work week (Monday-Friday) in another input field.
...
0
votes
0answers
24 views
Sonic Wall Firefox JQuery datepicker not hiding
I'm developing an ASP.NET MVC 3.5 website.
I've hooked up a JQuery datepicker on an input element. This looks in Razor C# code as follows:
@Html.TextBoxFor(model => model.DateOfBirth, new { ...
0
votes
0answers
28 views
Display Mobiscroll set/cancel buttons
I've got a jQuery datepicker popup and within the popup, I've managed to include mobiscroll timer (sitting just beneath the datepicker).
Everything is looking good, except the fact that I don't have ...
0
votes
1answer
50 views
How to pass date object to a function
I have a jQuery datepicker plugin along with some text fields. I pass the field content data to the function using AJAX. I am obtaining object object when I alert the value of
var dateObject = ...
0
votes
0answers
47 views
ASP.NET MVC4 - JQuery UI datepicker conflict with JQuery Mobile
I've been battling for two days with a form made in MVC4 in which I have some JQuery UI datepicker controls.
The problem with the form is that the datepickers work only on first form load: after ...
0
votes
2answers
51 views
DatePicker Not working On Ajax Loaded Content
I have stucked with this problem. The datepicker is working fine on static content.
But fails when content is loaded via Ajax.
I Have tried :-
jQuery.noConflict();
jQuery(function($) {
...
2
votes
0answers
43 views
Stop sj:datepicker from opening Struts2
I have following <sj:datepicker> :
<sj:datepicker
id="dateFrom_id%{index}"
name="billingItems[%{index}].dateFrom"
value="%{billingItems[#index].dateFrom}"
...
1
vote
3answers
84 views
Datepicker get date accoding to server date/time
How to make work datepicker according to server time , how to set the server time to datepicker Jquery Ui, any help will be appreciated
Yes via clinet side we cannot get the server datetime, is there ...
2
votes
2answers
153 views
Twitter Bootstrap datepicker Formatting Issue
I am using twitter boostrap datepicker in mvc4 application. In my Model, I am setting date property as-
[DisplayName("Date Last Modified")]
[DisplayFormat(DataFormatString = "{0:dd/MMM/yyyy}")]
...
-1
votes
1answer
69 views
beforeShow event for sj:datepicker Struts2
how can i set this option to my sj:datepicker date picker
$('input.date').datepicker({
beforeShow: function(input, inst)
{
alert("Before input");
...
3
votes
4answers
114 views
Convert a PHP date format to a Javascript date format
[EDIT] : I guess people had problem to understand exactly what I mean, so I completely rewrote my explanations.
I work on a project where users can define a date format used in the whole site. It ...
1
vote
2answers
123 views
datepicker Error = Uncaught TypeError: Cannot read property '0' of undefined
Can't get jQueryUI datepicker option beforeShowDay to work.
I've tried different help topics I've found but I can't get it working.
I get this error
Uncaught TypeError: Cannot read property '0' ...
0
votes
0answers
42 views
DatePicker plugin not working in Phonegap cordova-1.5.0 and it gives an error “Can't find variable: plugins”
DatePicker plugin not working in Phonegap cordova-1.5.0 in ios.
I have used this plugin : https://github.com/phonegap/phonegap-plugins/tree/master/iPhone/DatePicker.
It gives an error "Can't find ...
2
votes
1answer
40 views
How to tell which datepicker the widget is open for
This question is similar to Check if datepicker is open except that it pertains to a page that has multiple datepicker controls on it.
When there are multiple datepickers on a page, jQuery UI appears ...
1
vote
2answers
47 views
How to disable previous dates while still displaying the previous dates?
I used "minDate : dateToday" and "minDate : 0" but then the previous date is not displaying.
For example if i enter a today's date and when checked tomorrow, the Database still has yesterday's date ...
0
votes
0answers
28 views
How to make a datepicker Restrict date range with grocery crud?
Hmm, hello.. i have problem with make datepicker in grocery crud. How to make it? I was put this code in my controller, but still not working for me.
if( $crud->getState() == 'add' ) { //add these ...
0
votes
1answer
31 views
Setting the minimum date of jquery datepicker
I am working on a project which involves using HTML5 and Javacript/JQuery. I am trying to make use of the Jquery datepicker and trying to set the minimum date to today's date so the user can't select ...
0
votes
0answers
45 views
jQuery UI commands undefined unless I execute jQuery.noConflict()
I've inherited some code that makes extensive use of require.js, which I'm trying to learn. A page I'm having trouble with has a custom server control that bundles several scripts it's dependent upon ...
-2
votes
0answers
107 views
Set min date along date and time in datepicker using jquery [closed]
I need to restrict the user from selecting past dates so I need to set a minimum date. I need to show time with date. For example, I have the date in this format: "6/15/2013 10:10:05";
I have used ...
0
votes
0answers
86 views
Jquery datepicker setting button image using relative image path
There was a similar question that I found on Stack overflow but it did not clearly explain the answer. The Question is how do I use a relative path for buttonImage so that I can use a custom image for ...
0
votes
0answers
4 views
Can I pass settings to DatePicker in the tag?
With jQueryUI Datepicker, I want to be able to send in limits (can only go X years back or X years forward, for example) and formatting (YYYYMMDD vs YYYY-MM-DD vs MM/DD/YYYY, for example) through the ...
0
votes
2answers
60 views
Jquery DatePicker doesn`t work when clicked add new line link
i am trying to add a new line when i click the link. but jquery doesnt run. on jsfiddle it runs but doesn`t add a new line. here is jsfiddle. add_field() adds new empty inputs which is invisible in my ...
1
vote
1answer
56 views
JQuery Datepicker date is captured only when the day is clicked
Ran into a weird problem with jQuery Datepicker. I've set the option changeMonth: true to enable month change.
Say, if my datepicker displays a date 02/05/2013 and when I just change the month to ...
0
votes
0answers
141 views
jQuery UI DatePicker to show date range in drop down
I am using DataPicker to grab a specific date range to query the database.
However, rather than using the calendar, I want to implement a simple dropdown menu where user only aloow to select a fixed ...
1
vote
1answer
45 views
jQuery: Adding Style to selected Day in Datepicker
I try to manipulate the datepicker of jquery, because I want a multiple selection.
Now I Want to change the style of the selected Day, for example make the text in green.
I have no idea, how I can ...
0
votes
0answers
44 views
How to validate the end date is later than start date in Pods Framework's Date Picker
I have two date fields in a page. One of them is the start date of an activity. The second is the end date.
I want to validate that the end date is later than the start date. How can I do this ...