how to pass javascript value to php without get or post...mean in the same page..without submit

Recommended Answers

All 2 Replies

Try with via Ajax.

commented: gentle, nice reply, I'm always ruder than that and upset people, +13

php works on the server, javascript on the client,
javascript cannot communicate with a php script without submitting something to the server, (perth to NewYork without a phone call??) its not possible
to accomplish the appearance of not submitting or getting something follow Zero's direction and examine ajax

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.