// Remove an attribute (e.g. class or id) $(document).ready(function(){ $(".page-about div#content-wrapper").removeAttr('id'); $(".page-media div#content-wrapper").removeAttr('id'); });