Skip to content Skip to sidebar Skip to footer

Local Storage In Ie

When I tried to get item from the local storage value , it returns 'undefined' in IE8 I'm using the following codes for : Set item : var value = document.getElementById('test').val

Solution 1:

Ensure you are using the proper HTML5 Doctype:

<!DOCTYPE html>

and that you are in IE8 mode (ensure you haven't enabled some compatibility IE7 mode).

Post a Comment for "Local Storage In Ie"