JavaScript Tutorial

Remove the ID attribute from an element

$("#elementid").removeAttr("id");`