DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
How to Check if Checkbox is Checked in jQuery
var
isChecked
=
$
(
'#checkboxId'
)
.
prop
(
'checked'
)
;
if
(
isChecked
==
true
)
{
//code
}
Source by stackabuse.com #
PREVIOUS
NEXT
Tagged:
#How
#Check
#Checkbox
#Checked
#jQuery
ADD COMMENT
Topic
COMMENT
Name
9+7 =
Submit