Vreau sa execut un cod php intr-o functie javascript:
Cod: Selectaţi tot
<html>
<head>
<script type="text/javascript">
function apeleaza_php(){
...aici vreau sa apelez scriptul php
NU cu <?php ?>, ci un script, gen hello.php
}
</script>
</head>
<body onload ="apeleaza_php();" >
</body>
</html>
Se poate face cumva acest lucru?
Multumesc anticipat