0
votes
1answer
16 views

jQuery UI: datepicker displays incorrectly

I'm trying to show a jQuery datepicker using $("#datepicker").show(); The CSS: #datepicker{ width: 200px; height: 50px; right: 200px; top: 200px; position: fixed; display: ...
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
0answers
29 views

using defaultDate of jQuery datepicker

I have a selectbox which enables the user to select the number of days and by its side it also has jquery datepicker so that he can select some random date. now what I want is to prepopulate the ...
0
votes
1answer
50 views

Get datepicker value to prepopulate a field after redirect

I have a form with a datepicker field and I want when I submit this form to redirect me to another page and pre-populate an input-field in another form. To be more specific. I have the form with the ...
1
vote
1answer
63 views

Set multiple jQuery Datepickers' value based on one jQuery Datepicker's selected date

I have follow jQuery UI Datepicker sample code <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Datepicker - Default ...
1
vote
2answers
62 views

How to convert datepicker date to JSON object to use in AJAX request

i'm using the jquery datepicked and i have this code to take the date from it: var d = new Date(1980, 2, 2); $('#datepicker').datepicker({ changeMonth: true, changeYear: true, ...
0
votes
2answers
44 views

Cannot load datepicker and widget for a dynamically loaded input box

This is the html part <html> <head> <script src="./js/ajax.js" type="text/javascript"></script> <link rel="stylesheet" ...
0
votes
2answers
72 views

How can I set the javascript path in my JSP to display date

My web application structure is shown like below. tomcat |--webapps |-- META-INF |-- WEB-INF |-- css |--js |-- jsp | |-- index.jsp |--web.xml aa I set the JavaScript path ...
0
votes
1answer
36 views

jQuery Datepicker how can I add an array of dates to beforeShowDay

I have an jQuery Datepicker Calendar for tour bookings. Some days of the week are not available for bookings but these blocked dates are depending on the month(season). So for instance in December ...
0
votes
0answers
30 views

disable jQuery Datepicker Icon doesn't work after PostBack

Does anyone know why I can not disable the datepicker image after a postback? I'm taking a post in a PartialView. $(document).ready(function () { var cartaoCreditoContaBancaria = ...
0
votes
0answers
52 views

jQuery multidatespicker: IE8 long-running-script message

I have a page using multidatespicker version 1.5.2. This page suddenly started to stop working when on IE8. It displays the following message: Stop running this script? A script on this page is ...
1
vote
1answer
75 views

Show full date in input for jQuery UI Datepicker

Using jQuery UI datepicker, I have the following: <input type="text" id="check_in"> $( "#check_in" ).datepicker({ numberOfMonths: 2, dateFormat: 'dd/mm/yy', minDate: -1 }); When a date ...
0
votes
2answers
60 views

How to disable all previous dates on the datepicker

I've two date pickers for select the start date and end date. Once I pick a start date, I want to grey out all previous dates on the calendar for the end date field I tried the following code but its ...
1
vote
1answer
46 views

First Datepicker onchange 2nd date will automatic by 1 year

Hi friends is there any possible way to generate automate date by 1 year based on 1st datepicker.. $("#aggstarts").datepicker({ nextText: "", prevText: "", dateFormat: ...
-1
votes
2answers
123 views

How do I convert between date formats used by jquery ui datepicker and moment.js? [closed]

The date formatting string has different rules in jQuery UI datepicker, moment.js, DateTime class from .Net. How do I convert between these different formats?
-3
votes
1answer
129 views

jQuery ui datepicker enable dates for visible month via AJAX

I have a jquery ui calendar running on website only certain dates are enabled based on the previous drop down selections (this is a mysql query to get dates, here i am getting dates for entire year) ...
-2
votes
1answer
70 views

How set the value of an input element? [duplicate]

This script counts the days between two dates and shows the result on a span element: <span id="result"></span> But instead I want to show the result as value of an input element: ...
-1
votes
3answers
80 views

datepicker and css style

I have a problem with a date picker that I attached to my page the style of the date picker is overridden by another style, and it makes the datepicker bad the file which affect the datepicker style ...
0
votes
2answers
153 views

JQuery Datepicker change value attribute of div when current date is selected

The jQuery Datepicker is working great, but I would like the submit button to read different text based on whether or not the day selected is today. The submit button is a <button> and the text ...
1
vote
1answer
215 views

Add jquery datepicker dynamically after page load

Upon a button click, I have some jquery that will add some html to the 'body' element. In that html, I have a datepicker input field which refuses to appear when it should. I use the ui-datepicker ...
0
votes
1answer
63 views

Javascript date filter improving

jsfiddle.net I wrote javascript/jquery UI which filters a list of items by date. One <li class="list-group-item listItem" id="0001"> - for one item. Each <input type="hidden" id="01_0001" ...
0
votes
0answers
55 views

trying to modify current jquery ui datepicker to show range

I have this working fiddle (http://jsfiddle.net/sunnyday195/3FC7n/) and although its working somewhat I still need it to do 2 more things: when you focus in on the return I want to show the current ...
0
votes
2answers
127 views

datepicker jquery in bootstrap

I cant seem to get datepicker (jquery) to work in my bootstrap register page. I tried to click but nothing seem to happen. did i miss out anything? Do take a look at the code below! datepicker from ...
3
votes
9answers
406 views

Datepicker not working in Firefox

Here's my datepicker which isn't working in Firefox <div class="input-append datepicker"> <?php if($_REQUEST["date"]){ ?> <input id="filter-date" ...
0
votes
1answer
58 views

Dates not appearing consistently in Chrome and Firefox

The following code runs for a jQuery UI datepicker. Dates are highlighted based on whether a JSON response contains data for that date. This works fine in Chrome (32.0.1675.2 canary) but not in ...
6
votes
7answers
342 views

Why I can't use datepicker twice in the same table?

I know that there are simmilar questons, but I really can't find an answer fitting on my issue. I have this HTML table witch is looping trough an array - defined in my viewModel: <div ...
1
vote
1answer
272 views

month picker not working

Hello am not able to display a month picker placed inside a table. <!DOCTYPE html> <head> <script src="js/libs/jquery-1.9.1.js"></script> <link rel="stylesheet" ...
0
votes
3answers
257 views

jquery datepicker multiple css classes

I am looking for a possibility to highlight different dates in jquery's datepicker with different CSS classes. Simply, append .green to 27-10-2013, .yellow to 02-11.2013 and .red to 05-11-2013. So ...
0
votes
0answers
236 views

Jquery UI timepicker add-on firing parsing error

I keep on get an error when using this the JQuery time picker add-on from here trentrichardson.com/examples/timepicker/ I don't know what's wrong with it and no matter what I do it doesn't change. ...
0
votes
2answers
407 views

Angularjs , How do i set the ng-model for the input to change Date and Time with auto-binding?

How to set the ng-model for the input to change Date and Time with auto-binding? Here's the Plunker http://plnkr.co/edit/7kuvF6 I want to change the Date and Time in this case, but I don't know ...
0
votes
0answers
46 views

Determine original source of onSelect event in jQuery UI datepicker

Relatively new to jQ/js in general. I did due Googling/StackOverFlowing/asking of co-workers and couldn't figure out a good answer to this. I'm using a jQ UI datepicker with the timepicker addon from ...
2
votes
4answers
525 views

jquery function onclick (span class) from jquery datepicker

hi jquery folks I have a jquery datepicker from jqueryui.com/datepicker/‎. Now i want to add some custom features to it. The first question, If I enter the source of my page i cannot see the printed ...
1
vote
1answer
88 views

Split datepicker dates into separate inputs

I'm attempting to split datepicker dates into 3 inputs for a booking engine. I want to pass the dates as CID (check-in day) CIM (check-in month) and CIY (check-in year). I seem to have the split ...
1
vote
2answers
641 views

How can I repopulate the jquery UI datepicker from an Ajax response

I've been using this question as a guide to associating events with the jQuery UI Datepicker. I have my dates and events highlighting for the current month which works fine. My question is how can I ...
0
votes
0answers
86 views

DatePicker help - split date into 3 hidden inputs - passing “past date”

My datepicker is passing dates, but they seem to be incorrect (booking engine keeps telling me they're "past"). jQuery(document).ready(function() { jQuery('#datepicker1').datepicker({ ...
0
votes
1answer
119 views

JQuery Datepicker - limit TIME options

I have a datepicker element with date and time. It is used to book an event for certain date and time. I want to restrict date and time options, so an event can be booked only on available time slots. ...
0
votes
0answers
48 views

ui-date day start TO day end

i use ui-date (https://github.com/angular-ui/ui-date) in my project. i have problem with changing options realtime in controller. HTML page <input ui-date="startOptions" ng-model="dateStart" ...
0
votes
1answer
153 views

wrong value returned for month in datepicker of jquery ui when using the next arrow

I am using datpicker to provide options to select the month/year only and when the month is selected, a form is submitted with the selected value. here is the code: jquery ui datepicker with this ...
2
votes
1answer
467 views

Uncaught TypeError: Cannot set property 'currentDay' of undefined [duplicate]

I have a textfield1 and a textfield in a modal, When I click on textfield1 it appears fine, but when I click on the textfield present in the modal the datepicker appears but on selecting the date ...
-2
votes
1answer
96 views

i want to disable specific day in jquery datepicker but it will be dynamic means it will change according to certain textfield

i want to disable specific day dynamically but when i pass any variable to beforeShowDay function in jQuery calendar in php it gives error any help will be appreciated and reply asap? var ...
0
votes
0answers
54 views

Return in textbox correct dataformat date

I have datepicker from jQuery. In textbox return me this dataformat: Sat Aug 24 2013 00:00:00 GMT+0200. I want to return "dd.mm.yy". dateFormat: "dd.mm.yy" doesn't work. How can I do?. ...
0
votes
3answers
76 views

Issue in date foarmat in JQuery datepicker

I have 2 datepicker which binds to textboxes Chkin and Chkout. I need to display dates in dd/mm/y JQuery datepicker format. Problem is that when I try to get getFullYear() method of a dd/mm/y ...
0
votes
2answers
90 views

how to sum how many days from text fields in the 3rd textbox using datepicker

i have the following code: <!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Sum Of Total Days</title> <link rel="stylesheet" ...
1
vote
3answers
161 views

Datepicker from and to minimum one day

I'm playing around to make a datepicker work for a reservation purpose. The code below works almost exactly as I want it to. The problem is: I don't want the "to" datepicker to allow anything below ...
3
votes
3answers
222 views

Adding a date range picker with jQuery and updating content

I have the following HTML which adds my table headings when you click on the Add Column button. Then when you click Add Row it creates the rows. I need to add a date picker and create the button so ...
0
votes
4answers
322 views

JQuery datepicker doesnt return mm/dd/yy

I am trying to convert a date to dd/mm/yy formatusing JQuery datepicker. But I ended up with dd/mm/yyyy. Below is the code I tried - chkIn = $.datepicker.formatDate("dd/mm/yy", cinDate); where ...
0
votes
2answers
194 views

datetimepicker does not appear for dynamically created field in phonegap android

I am creating an input field dynamically to display the datetimepicker.when i create the field in the body and give class='datetimepicker' then it display the datepicker in the app but when tried to ...
1
vote
2answers
501 views

jQuery datepicker change date on keypress without CTRL key pressed

i've a question ... I use a datepicker and documentation says we can change the date on keypress (es. CTRL+LEFT: Move to the previous day) .... but I would like change date in this case: LEFT -> ...
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
1answer
92 views

Disable specific months JqueryUI datepicker

I'm creating a booking form that includes jQuery UI Datepicker, now i have a main issue that I need help with: Some trips will have only certain days active, and can only be sold certain months ...

15 30 50 per page