I am using nyroModal plugin http://nyromodal.nyrodev.com/ to create a login modal. The idea is, once the user has logged in successfully, to close the nyromodal and redirect him/her to the another url?
Is that possible?
Thanks
jeet
This should do what you're looking for
function RefreshParent(){
var url = window.parent.location.href;
window.parent.location.href = url;
}
You'll need to include that piece of code to the login page (the one inside the nyroModal
window)