DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
Jquery hide() all elements with certain class except one
function showOne(id) { $('.hide').not('#' + id).hide(); } showOne(1);
Source by jsfiddle.net #
PREVIOUS
NEXT
Tagged:
#Jquery
#elements
#class
ADD COMMENT
Topic
COMMENT
Name
5+3 =
Submit