hey guys!
how can I get the value of a certain variable in a function in a javascript?
I want the value to appear using the 'echo' syntax in PHP...
ex.
<script>
function sampleFunc()
{
num++;
}
</script>
how can i get that 'num' variable and display it using php!?
anyone who could help???!
Thanks!
how can I get the value of a certain variable in a function in a javascript?
I want the value to appear using the 'echo' syntax in PHP...
ex.
<script>
function sampleFunc()
{
num++;
}
</script>
how can i get that 'num' variable and display it using php!?
anyone who could help???!
Thanks!