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

213
Visualizações
Nepali Date-picker show on document.ready()

I am using a custom calendar datepicker from the following link

http://sajanmaharjan.com.np/nepali-datepicker/

This datepicker seems to be working fine but I am failing to display the date-picker by default when a page loads.

we can display the calendar of jquery with $('#id').datepicker('show'), however above datepicker doesn't have any such functionality. it can only be accessed only when a user clicks on textbox.

I tried initializing datepicker with an Id of an element

<div id="nepaliDate"></div>

     $(function(){
          $('#nepaliDate').nepaliDatePicker();
     });

Above code doesn't display calendar on page load.

The only code that works is with input type="text" and when we click on the textbox

     <input type="text" id="nepaliDate"/>
     $(function(){
          $('#nepaliDate').nepaliDatePicker();
     });

Could any please help me in knowing how can I display the calendar on document.ready or window.load?

Thanks

about 4 years ago · Santiago Trujillo
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