Browser Support Test

HTML5 introduced two new APIs for in-browser persistent data storage: sessionStorage and localStorage.

To test if a browser supports either of the Storage APIs, use the following feature-detect:

snippet
var storage_support = window.sessionStorage || window.localStorage;
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents +