Problem With Internet Explorer I don’t have in Chrome and Firefox

Asked

Viewed 254 times

0

In Internet Explorer appears to me: Access denied in this Scope:

$scope.login = {
  "user": window.localStorage.getItem("username"),
  "check": window.localStorage.getItem("valor"),
  "lingua": window.localStorage.getItem("lingua")
}

This login is a form, you have the ng-model’s user, check and language.

In Chrome and Firefox gives me no error.

  • Which version of IE? which error appears?

  • Version 11 error is: Access denied and indicates me the line of code above typed

  • The error may be in your IE settings, it may not be allowing the site to use localStorage.

  • The IE is a mistake

  • As I realized it had to do with localStorage I used this plugin: https://github.com/grevory/angular-local-storage It Worked Out. Thank you

1 answer

0


Browser other questions tagged

You are not signed in. Login or sign up in order to post.