Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
12-11-2012, 01:53 PM #1
- Join Date
- Oct 2011
- Thanked 0 Times in 0 Posts
iframed form doesn't show alerts on IE
i have a form which onsubmit , it alerts the user with form errors.
the form is placed inside an iframe.
the alerts appear well on FF and chrome, but not on IE.
how can i fix this ?
12-11-2012, 11:44 PM #2
Show us your code.
Because here is a demonstration to the contrary:
*** FILE: demo.html ****
<html> <body> This is the main page. <br/><br/> <iframe src="iframe.html" style="width: 100%; height: 300px;"></iframe> <br/><br/> More main page </body> </html>
<html> <body> This is iframe.html. <form onsubmit="alert('form submitted'); return false;"> <input type="submit" value="Click here to submit the form"/> </form> </body> </html>An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.