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
    354
    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. #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    9,681
    Thanks
    6
    Thanked 1,145 Times in 1,116 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
  •