Monday 15 June 2015

internet explorer - localStorage in IE10 doesn't work -


I am using IE10 and I have two tabs: - Tab 1: index.html - Tab2: update. Html

in tab 2:

  var tel = getURLParameter ('TELNR'); If ((!!)! == "undefined") {localStorage.setItem ("telephone", "+ + + + +" + "");}   

in tab 1: < / P>

  function handstorage (oven) {var telephone = locale storagegate item ("telephone"); if (telephone! = Null) {warning ("New call from this phone number:" + telephone) ;}}; $ (Window) .bund ('storage', handstall);   

I open tab 1 for the first time that waits for the event. Then I gave a given Passing tab 2. On the telephone number, tab 1 But the listener is correctly triggered but the telephone is zero if I refresh the tab 2, this time handle storage is applied with the correct number.

It works perfectly in Chrome and Firefox Any clue?

I'm not sure about your scenario but know that IE Slow / Later page loads on local storage compared to other browsers Yulet in. I have it available in a soft page again ranked by loading, location.reload () followed by the IE local storage data after the page loads.

No comments:

Post a Comment