I would like to change all the names of the attributes where class=\"testingCase\" throughout all my whole html document.
class=\"testingCase\"
e.g. Change:
&
same answer as @nickf but cleaner code:
$('a.testingCase[title]').each(function() { var curElem = $(this); curElem.attr("newTitleName", curElem.attr('title')).removeAttr('title'); });