I want to do something like this:
var html = $("#media").html();
$("#multimedia-content").append(html);
$("#multimedia-content").filter("*").removeAttr("id");
The 3th line fails, I want to remove all id’s from this part of html but I don’t know how to do the selection.
Thanks!
Personally, i would try this:
If you’d like #media to lose its ID as well, remove the
.find()and.end()lines, otherwise un-comment them.