Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

localStorage check

<script type="text/javascript">

function testSupport() {  
if (localStorage)  {return "Local Storage: Supported"}
else  {
return "Local Storage: NOT supported";  
}
} 

alert ( testSupport() );
</script>
Source by www.allwebdevhelp.com #
 
PREVIOUS NEXT
Tagged: #localStorage #check
ADD COMMENT
Topic
Name
6+6 =