IS there any Grand Master of JavaScript and php and knows how to pass a OnMouseDown variable to a php (ex:$click ) variable?
Cause I want to send informattion to php without having to use a <form> <input..></form>
I don't like those buttons! beurk! 😉
ex: <a onMouseDown="setVar("yo.html")"> YO!</a>
and then have
<script>
function setVar(page){
<? $click = "page"?>
}
</script> ...
I know this doesn't work cause PHP is compiled before Javascript so I would have to do the inverse..
but how?.
tanx!