assign javascript value to php function





I am trying to set php variable latitude with the value of javascript position.coords.latitude and put it in my database.script> var x document.getElementById("demo") function getLocation() if (navigator.geolocation) . I have a js function , after doing some business logic, the javascript function should return some result to another variable.Sample code belowvar resurl:action.php, type: "POST", data: dataString, success: function (txtBack) .I want to assign a return value "status" "var response" How to assign the javascript variable value to php variable [duplicate].Because your

PHP Warning: PHP Startup: Unable to load dynamic library /usr/local/lib/ php/extensions/no-debug-non-zts-20090626/ See other News Comment articles from assign javascript variable to php variable. How to assign HTML textbox value into PHP variable and. assign function return value to some variable using javascript. PHP and Javascript variable How to pass php value to javascript function.Javascript Equivalent of PHP List(). in php you can assign an array to a bunch of variables in one line. This really helps for readability. Can the decrypted value from javascript be assigned to a php variable? Pleas HelpDont you just want to use blowfish in PHP? You can use the crypt function for that. Can anyone please tell me how to assign a javascript variable value to a PHP variable?one of a working method of passing js value to php is through hidden form elements. PHP Code: