I want to convert Geo Location Position Object
into String
so i can store it into localStorage
for later use.
For now i did below methods
$.toJSON(position)
JSON.stringify(position) // position is the object which return from Geo Location Success callback
jQuery.stringify(position)
By using all above of these i can't get String
in Firefox
Also checked this one but it didn't help as such
FireFox Console Result
Chrome Console Result
Demo link using jQuery.stringify(position)