DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
check class exist in element by parent id in jquery
$(this).parent().find('.accordion-body').length == 1; or you can use hasClass()
PREVIOUS
NEXT
Tagged:
#check
#class
#exist
#element
#parent
#id
#jquery
ADD COMMENT
Topic
COMMENT
Name
2+6 =
Submit