Is there a way to integrate php code inside javascript function :
ex :
<script language=javascript>
function func(){
<?
//phpcode
?>
}
</script>
I tried this but the php code runs immediatly when the page loads , independent of the javascript function :rolleyes: