/* just produce some distinguishable output */ (function(){ $('div#logbook').append("6. test2 start
"); $('span#output2').html("script #2 loaded"); var j = 42; setInterval(function () { $('span#output2').html("j=" + j++); }, 1000); $('div#logbook').append("7. test2 end
"); })();