sutt0n 0 Newbie Poster

Ok, I have this one page that has a frameset with two frames. The left frame loads fine, and the second frame loads fine in Firefox and submits the form automatically like I need it to, but when it loads and submits (yes, it is a body onload form submit) it breaks out of the frameset completely and displays the resulted page.

Here's the main page with the frameset:

<HTML>

<CFOUTPUT>

	<frameset cols="40%,60%">

		<frame name="user" src="user.html" NORESIZE SCROLLING="NO">
	     	<frame name="process" src="antiFrameBreaker.php?url=http://localhost/iframebreaker/works.html" NORESIZE SCROLLING="NO">

		<NOFRAMES>
			Sorry you need a newer browser
		</NOFRAMES>
	
	</frameset>

</CFOUTPUT>

</HTML>

The antiFrameBreaker.php is a page that loads the file in the URL because of frame breaking code in Javascript.

Works.html, the second frame giving me the problem in IE:

<HTML>
<HEAD>
	<body onload="document.forms.name.submit();">
</HEAD>

<BODY>


<!--- Log into CL --->
	

<form action="asdfoijer.html" method="post" name="name" target="_self">
	<input type="hidden" name="email" value="blah@blah.com">
	<input type="hidden" name="password" value="asdf3231">
</form>

<h3>Logged in</h3><P>


</BODY>

</HTML>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.