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

211
Views
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
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!