How to remove calendar after focus out in c# or javascript
5 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Naimish MakwanaRank #324 · 7.7K reputationPosted Feb 20, 2023, 7:04 AM EST
If you are using jQuery UI then use below code.
// Add a jQuery UI datepicker to an HTML input element // JavaScript code to hide the jQuery UI datepicker when the HTML input element loses focus $("#myDate").on("blur", function() { $("#myDate").datepicker("hide"); });vineesha didla141 reputationPosted Feb 20, 2023, 7:02 AM EST
JS library
Naimish MakwanaRank #324 · 7.7K reputationPosted Feb 20, 2023, 7:01 AM EST
Hello Vineesha,
Which calendar controller are you using? are you using any JS library?
Thanks
Naimis
Naimish MakwanaRank #324 · 7.7K reputationPosted Feb 20, 2023, 7:03 AM EST
are you using jQuery calendar? Please provide some details.
vineesha didla141 reputationPosted Feb 20, 2023, 11:37 PM EST
jQuery plugin