473,326 Members | 2,136 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Query regarding Form submission

Hi All,

I am facing a problem during submission of one page in one of my website.
Actually when I am using the below code it is working in internet explorer as well as Opera and going to the redirected page without any problem but when I am using same page in Mozilla It is getting stucked in the action page itself and not going to the redirected page,Can any one help me out in this regard.

Javascript code I am using is:-

<script language="javascript1.2">
document.formname.submit();
</script>

Regards,
Mukti
Nov 26 '07 #1
7 1193
Death Slaught
1,137 1GB
Hi All,

I am facing a problem during submission of one page in one of my website.
Actually when I am using the below code it is working in internet explorer as well as Opera and going to the redirected page without any problem but when I am using same page in Mozilla It is getting stucked in the action page itself and not going to the redirected page,Can any one help me out in this regard.

Javascript code I am using is:-

<script language="javascript1.2">
document.formname.submit();
</script>

Regards,
Mukti
If your just trying to have one page go to another page when the first page is loaded, then you can just use:

Expand|Select|Wrap|Line Numbers
  1. top.window.location="Location";
Hope it helps, Death
Nov 26 '07 #2
Markus
6,050 Expert 4TB
Hm, you don't really give us much.

The code you provided, is that from the first page which then submits data to the second where the user will then be redirected? If so, you need to post the redirection code(from the second page).
Nov 26 '07 #3
Death Slaught
1,137 1GB
Didn't notice this before.

You have "script langauge" you shouldn't use langauge it was deprecated a fairly long time ago I think.

Use this:

Expand|Select|Wrap|Line Numbers
  1. <script type="text/javascript">
Hope it helps, Thanks, Death
Nov 26 '07 #4
It is working fine locally using IIS in mozilla browser but when I am trying it uploading at Server than its getting stucked at the action page.

Can you help me in this regards....

Regards,
Mukti
Nov 28 '07 #5
Death Slaught
1,137 1GB
Wether it's working in Mozilla Fire Fox, or not, is not the important thing, it's that you're using correct syntax.

Post as much of your code as you can, we can really do anything with what you provided.

Thanks, Death
Nov 28 '07 #6
Hi,

I am using the correct syntax,but still it is not working.

Can you send me a dummy formmail page where it is working in Mozilla.

Regards,
Mukti
Dec 6 '07 #7
acoder
16,027 Expert Mod 8TB
Post your form and JavaScript code or post a link to a page which demonstrates the problem.
Dec 6 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Beowulf | last post by:
Hi Guru's, I have a query regarding using PHP to maintain a user profiles list. I want to be able to have a form where users can fill in their profile info (Name, hobbies etc) and attach an...
8
by: Polar | last post by:
I am having troubles finding the parse error in this script. I've been checking for weeks. I am too new to the subject I guess. I am trying to show a readord and them have a form at the bottom...
13
by: dogu | last post by:
Noob alert. Code is below. File is saved as a .php. What I'm trying to do: User uses 'select' box drop down list to pick a value. Value ($site) is derived from a db query. This works fine....
1
by: Glenn | last post by:
Searching through google groups, I have not found anyone able to modify the query string of a request. I was hoping to make the query string as short as possible so that a search with many...
1
by: Alan J. Flavell | last post by:
What are the theoretical and practical limits on the length of a GET query string, currently? Strange to say, I found this rather simple question hard to answer, possibly because of searching...
31
by: Lag | last post by:
Having a problem updating my database from a web page, through a submission form. Can anyone help? ----THIS IS MY CODE IN update.php----(user, pass, and database are typed in directly, I...
0
by: TARUN | last post by:
Hello All I am getting stuck in one Problem. I am Using C# I have a one page called "Search.aspx" which include some TextBox, DropDownList, ListBox. On the Submission of this page, it...
2
by: =?Utf-8?B?RGlmZmlkZW50?= | last post by:
Hello All, I am trying to construct an XPath query against an XML document, for a requirement that I have. Below is the XML fragment: <SUBMISSIONS> <SUBMISSION YEAR="2004"> <MONTH...
1
by: Dave | last post by:
Hi guys, i have a small question regarding register_globals I have managed to change the way my forms work so they will process with register_globals turned off. However i have one page which...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.