|
It is currently Thu Jan 08, 2009 1:15 am
|
View unanswered posts | View active topics
|
Page 1 of 1
|
[ 1 post ] |
|
| Author |
Message |
|
ddprogrammer
|
Post subject: submit() trouble in iframe Posted: Mon Nov 05, 2007 11:49 am |
|
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 |
|
 |
|
Page 1 of 1
|
[ 1 post ] |
|
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
|
|
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:
|
|
|