473,320 Members | 2,189 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,320 software developers and data experts.

why anew explore is coming up?

Hi All,

I am sending some data to a servlet and geting the result from that.
For this is i am using form.submit() in javascript but when i submit
the form it open a new explore window.
Can you tell me why this is hapening and how can i remove this thing.
Thanks in advance
Tarun Garg

Dec 10 '06 #1
5 1093
ASM
Garg a écrit :
For this is i am using form.submit() in javascript but when i submit
the form it open a new explore window.
verify you haven't target="_blank" in your tag form

or somewhere (on top of file) :

<base target="_blank" ... >

look at also if you have an 'onsubmit' in your tag form

--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé
Stephane Moriaux and his (less) old Mac already out of date
Dec 10 '06 #2
thanks for reply,

I neither used 'target' now 'onsubmit'.

Tarun

Dec 11 '06 #3
thanks for reply,

I neither used 'target' nor 'onsubmit'.

Tarun

Dec 11 '06 #4
Garg wrote:
I neither used 'target' nor 'onsubmit'.
Maybe your page is in a frameset that holds:

<frame src="page.html" target="...">

Difficult to tell without looking at the code, of course. Anyhow, the
following should solve your problem:

(1) change <form ...into <form target="_self" ...>, plus
(2) add <base target="_self"in your <head></headsection

--
Bart

Dec 11 '06 #5
Thanks
(1) change <form ...into <form target="_self" ...>, plus
(2) add <base target="_self"in your <head></headsection
I tried both of these ways but still the problem is there.

Is this the problem with the dialog window as i am submiting the form
in the dialog window.

Thanks
Tarun

Dec 30 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Gianfranco | last post by:
Hi I got a problem with 2 tables. I have a table, say A, with x records, coming from a make table query and a table, say B, with y records, coming from another make table query. I need to join...
1
by: WindAndWaves | last post by:
Hi Gurus I write a lot of procedures where I call on special functions. Lets say a little function that runs SQL or that checks a specific value. Now, if there is an error in these little...
5
by: John | last post by:
Hi, In C#, we can use p/Invoke by using to define extern function to call C/C++ DLL. Is there any tool/wizard that we can use to explore the DLL (without header file) and generate the extern...
0
by: Crystal | last post by:
Hi there, I need to retrieve multi files information. Instead of creating my own file brower, I think I can use Windows Explore to navigate these files. Can someone tell me how I can get the file...
2
by: Chung | last post by:
Hi All, I have tryed to create a windows control for Internet Explore. It is working fine without Database process. When I add any database process in the code then I started to get an Error from...
1
by: JIM.H. | last post by:
In a web based application I need to show user a certain folder and all the subfolders like in a file Explore in Windows and if user wants to copy some file to their computer I need to provide a...
0
by: ahmad6132 | last post by:
Explore and recognise the words meanings in the scriptures http://www.qurancomplex.org/Quran/Targama/Targama.asp Explore the greatest life of the most recognized man in the history of...
1
by: valerie16 | last post by:
hi guys..i'm Valerie M. Lava from Philippines I'm 18yrs.old..taking up Bachelor of Scinces in Computer Science...So i ned help..:) because i'll be coming 3rd in next school yr., can u try to teach...
2
by: Nilam2477 | last post by:
I have a windows application in C#. On click of a button i want to open windows Explore and navigate to one folder. How can i do that?
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
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...
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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.