Javascript examples for jQuery Method and Property:html
Prevent jQuery() from executing javascript and add delay
<html id="da_html"> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-1.6.2.js"></script> <script type="text/javascript"> $(window).load(function(){/*from ww w . j a v a 2s.co m*/ setTimeout(function(){$('body').html('mooo'); $('da_html')}, 3000); }); </script> </head> <body> <script> console.log('wtf'); </script> </body> </html>