Geolocation API -- Error Handle: HTML5
Satish B
http://technotip.com/3076/geolocation-api-error-handle-html5/
This code is helpful when geolocation API is unable to determine the users location. In this situation we, as good developers, shouldn't leave the user keep thinking about what happened! We should gracefully inform the user about what happened in the background of our application data center.
Geolocation API passes error object to the error handle, which contains error.code and corresponding error.message properties, using which we output the error information to the user.
HTML5 and CSS3 Video Tutorial List: http://technotip.com/3451/html5-css3-video-tutorial-list/ ... https://www.youtube.com/watch?v=j_5EGTb9dhA
2020-07-21
0.0 LBC
Copyrighted (contact publisher)
36679534 Bytes