PDA

View Full Version : <script> in Ajax doesn't work



tp4fp
01-16-2008, 04:28 AM
On my site the main idea is to have the downloads page, all in one page ( http://www.theplace4fun.parahosting.net/downloads.htm?expand=1 ), but i want to have a hit counter on ajax pages it loads. Here is the script for the pop-up counter:

<script align="left" type="text/javascript" src="http://pub12.bravenet.com/counter/code.php?id=401574&usernum=948392434&cpv=2"></script>

Now that works fine when i actually load the page ( http://theplace4fun.parahosting.net/downloads/external/rats.htm ), but when I view it in the tabs/ajax, it doesn't work. Is it because I'm doing somehting wrong, or just because the ajax can't have the script inside it?