$(document).ready(function() { if($(".wrapper").html() == "") document.write(""); });
No i przy powyższym kodzie html, powinien wywołać się kod po if(). Jednak tak się nie dzieje. Dlaczego?
$(document).ready(function() { if($(".wrapper").html() == "") document.write(""); });