I was going to use Ajax and probaly will in the future, but for now i need to know how to do this:
I want to be able to click a link and as soon as the link is clicked a PHP page is executed, but not opened. So somthing like this:
PHP Code:
<html>
<head>
<title>example</title>
<script language="javascript">
function execphp('page')
{
var execphp = page;
... and some more scirpt or somthing
}
</script>
</head>
<body>
<a href="javascript:void(0)" onclick="execphp('examplepage.php')">
</body>
</html>
...where execphp() would execute the PHP page, so it would be like Ajax, execpt it does not send requests to the server. Is this possible and if so how?
__________________
Go Kirby! <(" . "<) (^" . "^) (>" . ")> Talkupation!
|