Javascript current location in all browser code?
I want to create application to fetch the current location data using Java script.
I want to use this code in any of the browser Firefox,IE,Safari,Chrome,Opera mini along with any version.(1.x,2.x,3.x,.4.x)....
I have tried but it is running with some of the browser and with limited version.
can any body help me out to find out the solution for finding current location using java script for any browser which is compatible .....please share co开发者_JS百科de snippet or any useful link...
thanks, mishal shah
Here is the solution which abstracts from platform http://code.google.com/p/geo-location-javascript/ if you talk about geolocation.
This is a better resource which includes information about both W3C Geolocation standard and Google Gears Geolocation API
http://code.google.com/apis/gears/api_geolocation.html
精彩评论