Profile
Achievement
pmw57's Recent SnippetsTagged jquery
- All /
« Prev 1 Next »
The purpose of this hook method is to help provide a separation of concerns between CSS and JavaScript.
Typically class names are used to attach JavaScript to HTML elements. Using a separate data-hook attribute helps to protect the scripting from...
0
958
posted 9 years ago by pmw57