Hi Team
I have a checkbox, i want if i click to it must populate the datepicker, i need some help below. The issue when i unchecked it its not hidding. I want a user when the first check it must must show, then when its not unchecked it must hide. I also getting javascript error, date.datepicker is not a function. what library are necessary for this exception?
- class="form-group row">
- class="col-sm-6">
- @Html.EditorFor(model => model.ModuleName, new { htmlAttributes = new { @class = "form-control", autofocus = "autofocus", placeholder = "ModuleName" } })
-
class
="form-group row"> class
="col-sm-2"> 
Junaid MuslaRank #8,429 · 222 reputationPosted Sep 30, 2020, 12:41 AM EDT
Also you might need this to activate datapicker:
Junaid MuslaRank #8,429 · 222 reputationPosted Sep 28, 2020, 1:47 AM EDT
Guest UserRank #877 · 2.5K reputationPosted Sep 28, 2020, 2:50 AM EDT
Junaid MuslaRank #8,429 · 222 reputationPosted Sep 28, 2020, 4:15 AM EDT
Try to write your script in the script section as below:
Guest UserRank #877 · 2.5K reputationPosted Sep 28, 2020, 4:32 AM EDT
Junaid MuslaRank #8,429 · 222 reputationPosted Sep 28, 2020, 8:10 PM EDT
Guest UserRank #877 · 2.5K reputationPosted Sep 30, 2020, 12:29 AM EDT
Guest UserRank #877 · 2.5K reputationPosted Sep 30, 2020, 12:50 AM EDT