Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


submit() trouble in iframe



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> JavaScript Forum
View previous topic :: View next topic  
Author Message
ddprogrammer



Joined: 05 Nov 2007
Posts: 1

PostPosted: Mon Nov 05, 2007 11:49 am    Post subject: submit() trouble in iframe Reply with quote

Hi all,

Im new to this forum... any help would be greatly appreciated.

I have a hidden "in between" page where I dynamically create a form and
hidden inputs using ASP that should submit to a second page where this data
will be used.

The form is automatically submitted using javascript. This code works in IE
and in Firefox.

The problem I am facing now is that the series of these same pages I am working with are now being used inside an iframe. Since this change, the javascript submit no longer works in Firefox, but does in IE.

Please see code below and tell me what I am doing wrong.

Thanks!

<html>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<body onload="document.getElementById('answer').submit();">
<form method=POST name='answer' id='answer' action=pagename.asp'>")
<input type=hidden name=Section value="1">
<input type=hidden name=survey value="10">
<input type=hidden name=resumeAt value='0'>
<input type=hidden name=Counter value="1">
</form>
</body>
</html>
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> JavaScript Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap