ranjitjena's Forum Posts

  • 1 posts
  • hi how to load any website website using ajax . I have created a page index.html and saved it on my window . when load this page the google page is not loaded on my browser. following codes are in my index.html page. please help me and tell me how to solve this problem

    thanks in advance

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>

    <script type="text/javascript">

         $(document).ready(function() {

                   $.ajax({ url:"http://www.google.com/", cache:false, success:function(output){

                             $("#middle").html(output);          

                        }

                   });

              

         });

    </script>

    </html>

    <body>

         <div id="middle">

         </div>          

    </body>

    </html>

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 1 posts