TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Guest User
Tech Writer
2.1k
480.7k
How to use jqueryui in your form for datepicker show?
Sep 28 2020 5:05 AM
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"
>
@Html.CheckBoxFor(model => model.Lockuntil,
new
{ @
class
=
"rb"
, data_toggle =
"hide-element"
, data_target =
"#datepicker"
})
"date"
type=
"text"
/>
"checkbox"
id=
"chkDisable"
onclick=
"disableDP()"
>
// javascrpit
Reply
Answers (
8
)
How to get round figure minutes in JavaScript?
How to check string contains word or not using j