DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
checkbox on click jquery select all
$
(
"#checkAll"
)
.
click
(
function
(
)
{
$
(
'input:checkbox'
)
.
not
(
this
)
.
prop
(
'checked'
,
this
.
checked
)
;
}
)
;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#checkbox
#click
#jquery
#select
ADD COMMENT
Topic
COMMENT
Name
2+6 =
Submit