Is my replaceWith code wrong??
I have this code but jsfiddle gives no result, why??
$(function () {
$('<img src="https://facebook.com/favicon.ico" />').replaceWith('<i class="icon-facebook"></i> ');
});
http://jsfiddle.net/U6hpz/1/
Thank you, Tom