Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

214
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda