Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

81
Views
jQuery UI Datepicker not working | jQuery 3.3.1

I have this project about booking system in php. little bit old tbh but it's get the job done

Anyway.. I have a problem with the "datepicker" in jquery.

I have this input field

<div class="booking_dropdown"><input type="text" id="datepicker" class="datepicker" placeholder="Check in" name="arrival" required="required" value="<?php echo isset($_POST['arrival']) ? $_POST['arrival'] :date('m/d/Y');?>"></div>

with I connected with the datepicker function

here it's code

$('#datepicker').datepicker({
    inline: true,
    startDate: new Date(),
    changeMonth: true,
    changeYear: true,
    showButtonPanel: true,
    minDate: 0
});

the mineDate: 0 suppose to make the booking mechanism start from current day and disable all the past days, but actually the whole datepicker function turned out to be not working at all. idk why tbh

Note : the function located in another file called index.html and the input field located in file called template.php

Project Download Link

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!