Reputation: 113
Is there a way I can pass a PHP variable from a PHP page to a JQuery page and back to a PHP page?
Upvotes: 1
Views: 114
Reputation: 25165
Maybe I'm wrong but I believe you may be confusing things.
In the end what you are asking for is possible but, by the way you put the question, I though that the above should be clarified.
How to do it?
Say you want to pass id=123
from server to client and then back.
<span id="js-val">123</span>
id="js-val
POST
or GET
that really depends on what you want.Hope it helps to clear things up.
Upvotes: 2