Skip to main content

All Questions

0 votes
1 answer
943 views

Get dates from database to the jQuery Ui Picker in PHP

I am trying to get the dates from the database using PHP. Which will be highlighted in datepicker. To do achieve that I have made a sql query to fetch the dates as shown below. HTML Date: <input ...
tru_shar's user avatar
  • 137
0 votes
0 answers
73 views

problem with jquery datepicker on dynamic content with datatables plugin

im having this issue after populating an html table with the jquery datatables plugin, i have an input field where i need to show the datepicker when i put the focus on the field, i have tried using ....
Solar Confinement's user avatar
0 votes
0 answers
66 views

Rails: Switching from a jquery Datepicker to a jquery Timepicker

I'm looking for a smart advice not for a spoon fed solution to overwrite the datepicker in my rails app, since I'm don't know much about jquery. Currently I have a datepicker enabled, I found a nice ...
klasarn's user avatar
  • 129
1 vote
1 answer
314 views

Multiple datepicker in same page with AJAX

I'm very beginner in JS but I managed to glue such a code. Works great for one input: <input type="text" class="form-control" id="1" name="date" placeholder="MM/DD/YYYY" > $...
Szymon Kowal's user avatar
0 votes
2 answers
2k views

Ajax call in datepicker with selected date jQuery?

I am building Monthpicker. How to make ajax call inside datepicker? $(function () { $('#datepicker').datepicker({ minDate: new Date('2013'), maxDate: new Date(), ...
Aipo's user avatar
  • 1,905
0 votes
1 answer
150 views

Datepicker enable after select symbol

I have a 2 fields, symbol and date, if symbol is select after datepicker is enable, without select symbol datepicker is disable. <script src="{{asset('js/libs/jquery.js')}}" crossorigin="...
user avatar
1 vote
1 answer
388 views

How to disable days of week in date picker based on response from web service

In my project there is many employees , each one of them has his own schedule per week , I've implemented a web service that returns a list of integers which represents the work days for the specified ...
Mohammad's user avatar
  • 739
-2 votes
1 answer
299 views

Ajax call returing ReferenceError: variable is not defined while using jQuery Datepicker

I have the following input with name and id as consultdate which selects a jQuery datepicker date value in format dd/mm/yyyy. I have an ajax call which when placed runs a query on mysql db and i need ...
Pamela's user avatar
  • 684
0 votes
1 answer
872 views

Datepicker does not work after AJAX Call

I got a DatePicker that works just fine until AJAX call is made. Any idea? ?><select onChange="Contract_PropertyDetails();" class="element select medium" id="contract_property" name="...
Rafal Kanabus's user avatar
0 votes
2 answers
2k views

Steps to add datepicker to the bootstrap modal

I am working on a project where i have to add datepicker to the bootstrap modal.I donot know how to add datepicker to the modal popup window. I want the steps to add the datepicker to the ...
Deepak Keynes's user avatar
0 votes
1 answer
440 views

How to get an ajax response into a javascsript datepicker function?

I'm trying to get the ajax response into my datepicker function. My getdates.php script queries a mysql database and then echos a series of dates that I want datepicker to disable. It echos them in ...
Maude Rozencrance's Cat's user avatar
0 votes
2 answers
133 views

Ajax data out of sync with datepicker events

I use $.ajax with php to get event dates from a remote mysql database which takes some amount of time. The idea is to populate jQuery datepicker selectable dates only with those days of the applicable ...
bobv's user avatar
  • 41
0 votes
2 answers
2k views

Use jQuery UI datepicker with async AJAX requests

I am trying to enable specific days in a jquery-ui datepicker. So far i have set my sql scripts and json files and everything is working fine except the response time, because i've set async to false. ...
Antegeia's user avatar
  • 271
2 votes
1 answer
7k views

jQuery UI Datepicker - Refresh available dates

I am using jQuery UI datepicker for my calendar. I have used the beforeShowDay function to block out days which are unavailable. This data comes from an AJAX call which when successful I then populate ...
Elliot Reeve's user avatar
0 votes
2 answers
942 views

Datepicker in AJAX loaded Modal

I can successfully initialize the datepicker every time the modal is loaded. What I cannot do, is to get it working to complete the input field. My logic is the following: Write Modal on page load ...
clod986's user avatar
  • 2,627

15 30 50 per page