You dont put that in the external page, you put it on the main one and in the links you make it run the function.
And thanks twey.. Just what I came here to post for 
But it doesn't seem to work
Any ideas why?
The link looks like this:
Code:
<a onclick="callpage('pages/ch.php', 'content'); runScripts('content');">Something</a>
and the ch.php looks like this
Code:
<head>
<script src="../scripts/ajax.js" type="text/javascript"></script>
</head>
<body onload="gethits('name','');setupimg('up1');">
<table id="table" cellspacing="0" cellpadding="0" style="width:510px" border="1">
</body>
Any ideas? :/
Bookmarks