4 ms·$('img:first').replaceWith(function() { return $('<div id=' + this.id + '></div>') })by jdc 13y ago$('img:first').replaceWith(function() { return $('<div id=' + this.id + '></div>') })