Uncaught SyntaxError: Unexpected token var (using switchButton)
Uncaught SyntaxError: Unexpected token var (using switchButton)
am trying to read a data attribute from switchButton event, but I got this error :
Uncaught SyntaxError: Unexpected token var
Here is the fiddle :
http://jsfiddle.net/mlotfi/pot095x3/
Thanks.
Topic Participants
akramakom
jakecigar