AJAX Resources and Information

AJAX and Link Onclick Events

When using an onclick event in a link you can prevent the link from firing (doing it's normal job) by including "return false;" after the AJAX call:

<a href="" onClick=\"loadcontent('target_div','ajax_file.php','Loading...');return false;">Link Text</a>