Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Apr 2013
    Posts
    135
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Question Ajax .load() when page loads?

    Hi,

    I would like to Ajax load in a page when my main page is loaded?!

    something like this:
    Code:
    <script type="text/javascript">
    $(function(){
    	$("#content1").load('/home-hub-comments ', function(){
    	});
    });	
    </script>

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,607
    Thanks
    6
    Thanked 997 Times in 970 Posts
    And what is your question now? You’ve got it all there.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •