Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

85
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda