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
Rameez Javed
NA
395
61.1k
can we disable enable controls of specific div on checkbox
Feb 3 2020 4:55 AM
Hi,
How we can disable enable controls of specific div on checkbox click/change,
I have three checkboxes and three divs, what I want to do is, on checkbox one checked enable div one controls (textboxes, select). so far I'm able to get the checkbox enable disable event like the code below
$(
'#chkbxOne'
).change(
function
() {
var
c =
this
.checked ?
'T'
:
'F'
;
if
(c ==
"T"
) {
alert(
"Enable"
);
}
if
(c ==
"F"
) {
alert(
"Disable"
);
}
});
where it alerts Enable, i want to enable all controls of this div,
same for other two divs
Reply
Answers (
4
)
i want to make client logo list horizontaly scroll
i am getting the iframe refused error in below code