0

i have a modal popup built with jquery UI ($.dialog) that contains an iframe (id='myIframe') with a login form. the login func calls via Ajax and give access to the user, then it should redirect the user to a different page...but instead it load the page inside the iframe...

i always forget how to solve this issue...

parent.location.href= mypage.html **???**

can you teach me?

thanks!

Francesco
  • 24,839
  • 29
  • 105
  • 152

1 Answers1

0
parent.location.href = "somepage.htm";
thejh
  • 44,854
  • 16
  • 96
  • 107