I am loading content via Ajax, but I need it to not load anything when my site loads

Posted by Reden on Stack Overflow See other posts from Stack Overflow or by Reden
Published on 2010-03-27T05:10:36Z Indexed on 2010/03/27 5:13 UTC
Read the original article Hit count: 141

Filed under:
|

I'm loading content into several divs with

ajax_loadContent

<div class="content"><div class="container" id="contents2"><!-- Empty div for dynamic content -->Loading content. please wait...</div><script type="text/javascript">ajax_loadContent('contents2','http://www.thewebsite.com/blank.php');</script></div>

Basically, I don't want to load anything until the user clicks on the links I have specified to load content into these instances, please help! Right now, I'm loading a blank file to show nothing in the div.

© Stack Overflow or respective owner

Related posts about AJAX

Related posts about JavaScript