I am trying to select all elements with a data-go-to attribute that is not empty.
I tried $('[data-go-to!=""]') , But, oddly enough, it seems like it selects every element on the page if I do this.
javascript jquery jquery-selectors custom-data-attribute
Shpigford May 17 '12 at 18:15 2012-05-17 18:15
source share