I want to show an enable location service popup, just like Google Map shows it in the mobile web browser when GPS is off in mobile settings. I would like to use only javascript or jQuery, not android or Phonegap.
Would it even be possible with javascript or jQuery? Does anyone have some advice for me?
Yes! It is possible with Browser's Geolocation API. Look at following example -
**Note: ** Geolocation API does not works as stackoverflow's code snippet. Try to run this example locally in your machine.
Learn more about Geolocation API