Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery has class

let hasClass = $('button').hasClass('buttonClass')
console.log(hasClass)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #class
ADD COMMENT
Topic
Name
3+7 =