Thursday, February 27, 2014

grab the value of a parameter off of an HTML element in plain Jane JavaScript

if (element.getAttribute("data-dojo-attach-point").indexOf("whatever") != -1) {

No comments:

Post a Comment