php & javascript
Posted: Thu Feb 19, 2009 1:09 pm
hello guys, i had just totally sink to the problem of initializing value of one javascript variable to php variable....
Suppose, i have a form element having id toy, & i get its value as follows...
now i want to assign the value of toy to any of php variable, but i m unable to do it,plz anyone help..
thanks
Suppose, i have a form element having id toy, & i get its value as follows...
Code: Select all
var toy=document.getElementById("toy").valuethanks