How to pass a value from javascript function? [duplicate]
问题 This question already has answers here : Closed 6 years ago . Possible Duplicate: How to pass JS variable to php? Passing javascript variables to php? how to pass a valu from javascript function, I have this kind of code function next(c,q){ var y=Number(q); var x=Number(c)+1; var texta=document.getElementById('myText'); var content=document.getElementById('woo'+x); var page=document.getElementById('paged'); var thik=document.getElementById('lengthik'); texta.value=content.value; page.value=x;