These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:21 pm Advanced search

WEB STORAGE

Here you can discuss things related to HTML and the Web in general that do not fit in to other categories.

WEB STORAGE

Postby sabeer » Mon Oct 18, 2010 6:28 am

Is IE 8 support web storage(htnl5)?

my code is



<!DOCTYPE HTML>
<html>
<body>

<script type="text/javascript">
if( localStorage.hits ){
localStorage.hits = Number(localStorage.hits) +1;
}else{
localStorage.hits = 1;
}
document.write("Total Hits :" + localStorage.hits );
</script>
<p>Refresh the page to increase number of hits.</p>
<p>Close the window and open it again and check the result.</p>

</body>
</html>
sabeer
<h6>
 
Posts: 2
Joined: Mon Oct 18, 2010 5:54 am

Postby cappo » Mon Oct 18, 2010 6:33 am

you can test your browser for the compability with HTML5 features in http://www.html5test.com/

:D
cappo
<h6>
 
Posts: 9
Joined: Sun Oct 17, 2010 12:56 pm

WEB STORAGE

Postby sabeer » Mon Oct 18, 2010 6:36 am

I tested in http://www.html5test.com/

it says yes

but code is not working in IE8 and FF 3.6.10
sabeer
<h6>
 
Posts: 2
Joined: Mon Oct 18, 2010 5:54 am

Postby cappo » Mon Oct 18, 2010 6:45 am

oh...but, in Chrome it's really work....currently i'm not using FF or IE
cappo
<h6>
 
Posts: 9
Joined: Sun Oct 17, 2010 12:56 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests