According to here, jquery\'s remove function should work like so..
$(\'div\').remove(\'selector\');
Which I\'m trying in this example.
try this
$(document).ready(function() { $('div').find('p.unwanted').attr('class', ''); });