Hi, guys! I've got in 1.html something about
$(document).ready(function() { var h = $.ajax({url: "test.html",async: false,dataType:'html'}).responseText; $('body').append(h); }); test.html contains smth about that <p>Test data</p> <script type="text/javascript"> /*<![CDATA[*/ alert('test'); /*]]>*/ </script> The trouble is: in firefox returned script alerts twice: first on return second on append In IE and Opera this script works fine Is there any easy way to solve this problem? -- ____________________________ Best regards, Marat
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/