Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to check if data attribute exists in jquery

if ($("#dataTable").data('timer')) {
  ...
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #data #attribute #exists #jquery
ADD COMMENT
Topic
Name
6+5 =