user1518793
user1518793

Reputation: 135

navigator.geolocation.getCurrentPosition(showPosition) not working in jquery mobile page

i am trying to get user's current location in my jquery mobile webapp..i used code given on w3schools.com http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_geolocation

This code is working fine on w3schools but when i include it in my jquery mobile page, then it does not works..i uploaded app on my server and tested on my phone and laptop..the code didnt work..

my jquery mobile page code: http://pastebin.com/qZafsJt4

Upvotes: 0

Views: 656

Answers (1)

Andrew Lively
Andrew Lively

Reputation: 2153

You need to upgrade your version on jQuery to 1.9.1

Upvotes: 2

Related Questions