Home > front end >  JQuery value problem by the get method
JQuery value problem by the get method

Time:01-22

[code=javascript] wx. GetLocation ({
Success: the function (res) {
Var latitude=res. Latitude;
Var longitude=res. Longitude;
Var speed=res. Speed;
Var accuracy=res. Accuracy;
Alert (latitude + ', '+ longitude +', '+ accuracy);

},
Cancel: function (res) {
Alert (' user to authorize access to geographic location).
}
});

});
Excuse me each great god, latitude and longitude values of two parameters how to PHP, and then through the PHP output,

  • Related