Can\'t seem to get this one to work...
I have a page that hides certain links. When the DOM is loaded, I\'m using jQuery to toggle some of those elements. This is drive
Why don't you set the value to a random value or empty variable instead if removeAttr does not work..
$(this).attr("data-usr" , ''); $(this).prop("data-usr" , '');