Well I know how to call a function but how do I get the js's return value to the php script?
Printable View
Well I know how to call a function but how do I get the js's return value to the php script?
unless you send it via ajax, you can't. javascript is client side, it doesn't interact with the server and the server can't see its results.
I'm very curious as to how you call the function in the first place.