I have my login page in an iframe and wished to reload the parent window using ajax and jquery from within iframe without refreshing but i\'m getting errors like this
(
dont bother! why use iframes at all if you are using ajax.
just load the login using
$("where you want to load the content here").load("src of your iframe here");
//load via ajax $("div").load("login.php");
much simpler and alot more elegant.