63. Notice to new visitors: JQuery's . · 4. You should remove the # from the alert, you dont need it :-) · 1. attr("#data-id")) is wrong. · @ ... ... <看更多>
Apr 19, 2019 - Using the jquery Api attr() method, you can easily get or set data attribute values on selected html elements like data-id, data-class, ... ... <看更多>
it checks to see if the element has a dataAnalytics tag (some links have a data-analytics tag that we can get some values from); if the element ... ... <看更多>