<html> <head> <script src="jquery.js"></script> <script> $(function(){ $("#divId").load("b.html"); }); </script> </head> <body> <div id="divId" style="display:none;"></div> </body> </html>