Flash Games

 FAQ   Search   Members   Groups   User Control Panel      Login 

It is currently Thu Jan 08, 2009 1:15 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: submit() trouble in iframe
PostPosted: Mon Nov 05, 2007 11:49 am 
Offline

Joined: Mon Nov 05, 2007 11:46 am
Posts: 0
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>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group - Flash Games - TNX Invitation Code - TNX Review

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: