Ok, I'm doing a little page using java script and php. Anyway, Ive got a function that is run on the mousedown event of a button..
What I want to know is how to assign a variable in java to a variable in php?
eg:
I want $co to equal the 'x' value in the java script..Code:function do_co() { x=document.form2.x.value y=document.form2.y.value z=document.form2.z.value <? $co = 'x'; ?> thread_title.innerHTML="<? echo $co; ?>" }
Any ideas?




Reply With Quote