Home > DeveloperSection > Interviews > What is the use of localStorage in HTML5 ?

Posted on    October-20-2012 8:09 AM

 HTML5 HTML5 
Ratings:
 1 Answer(s)
  3930  View(s)
Rate this:

AVADHESH PATEL

Total Post:257

Points:1285
Posted on    October-20-2012 12:00 AM

<script type="text/javascript">
localStorage.name="PCDS";
document.write(localStorage.name);
</script>
<script type="text/javascript">
localStorage.address="Mumbai India..";
document.write(localStorage.address);
</script>

Don't want to miss updates? Please click the below button!

Follow MindStick