All Questions
74 questions
0
votes
0
answers
63
views
How to get datepicker to show today's date in a new form using php
I'm using PHP 8.2 and datepicker.
I have a form. It has two date fields, which both use the datepicker class. When the page loads, the form is empty (new record). But, the date fields default to 1970-...
0
votes
1
answer
543
views
Dates fetched using ajax but not highlighted in Jquery UI datepicker, PHP
I am using Jquery datepicker to highlight specific dates. Dates are being fetched from the database in PHP and MySQL. Dates will be fetched depending on the selected value in the select tag. The dates ...
0
votes
1
answer
1k
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 ...
0
votes
1
answer
90
views
Store json values to an array
Hello I have not much experience but usually with some help of google I can figure it out, but not today. I am making an appointment program and I am struggling with blocking values from a DB in the ...
0
votes
1
answer
447
views
Fetch data from Access by comparing dates using WHERE Date BETWEEN start date and end date chosen from JQuery DatePicker
currently for my system , i am creating a php chart system where user can select desired date from two datepickers which is start date and end date.
Once user submit the dates, the dates will be ...
2
votes
1
answer
251
views
Add a selector class to jQuery datepicker in WooCommerce single products
I have a datepicker within a form on the single product page of Woocommerce that. Due to gTranslate the values are NaN for other languages. I added notranslate like this in the functions.php:
function ...
0
votes
4
answers
820
views
Laravel: Converting m/d/Y to Y-m-d from jQuery UI Datepicker before saving to database [duplicate]
I am trying to save a date from jQuery UI datepicker to database.
I want to display the date in m/d/Y format on date selection from the input form.
When I try to save it to the database, it is giving ...
0
votes
2
answers
1k
views
How can I retrieve the selected date value from datepicker jQuery UI in order to trigger something
As the title mentions, I want to update my page with data in accordance with selected date in jQuery UI datepicker. So i need to retrieve the current date value if no date is selected or retrieve the ...
0
votes
1
answer
309
views
JQuery Date Picker not working to disable previous dates
I'm using jQuery date picker in my PHP site. It's working properly, but I want to disable previous date from it. I tried every settings I can but unable to disable it.
<center><div class=...
0
votes
1
answer
89
views
jQuery Datepicker doesnt display events on first 10 days of each month
Got a problem with jquery datepicker. Everything is working as expected but the events from the first 10 days of each month doesnt show up. Classes are not applying even that the dates for those days ...
-1
votes
1
answer
210
views
dynamic form datepicker jquery
I tried to create a dynamic form. Im not sure why the datepicker cant be clicked. Datepicker only work on first row. I already try few other code but no luck. The code is provided below. I excluded ...
1
vote
1
answer
393
views
JQuery Datepicker Returning Empty on One Form But Not Others
Having a problem with the datepicker: when I click on a date, the datepicker works as it should but the form field empties itself of even any current content and remains empty until reloaded or a new ...
0
votes
1
answer
1k
views
How to add date value in dynamically created date field using Jquery
I need one help. I have one json array and I need to add some date value present inside that JSON array in dynamically created date field using Jquery. I am explaining my code below.
$depdate=[
{...
1
vote
2
answers
141
views
How to have the datepicker work for the dynamically created textboxes
I have an 'add' button that creates some dynamic textfields. The default start date and end date textfields displays the datepicker. However, the dynamically created textboxes are not displaying the ...
1
vote
2
answers
292
views
Jquery ui datepicker position
I have problem in Jquery ui datepicker position relative to input type hidden.
I triggered datepicker on click of FontAwesome icon and saving selected date in input type hidden. All working but ...