Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

pop up window without changing parent window

Posted on 2003-10-30
4
Medium Priority
?
237 Views
Last Modified: 2010-04-17
this is the script

<form method="post" action="apply_DTR.asp">
<input name="taskDTR" type="radio" value="personnel" checked>Personnel Record

<input name="taskDTR" type="radio" value="biometrics">
Biometrics record

<input type="image" border="0" src="images/submit.gif" >
</form

if i choose personnel record, it will go to apply_DTR.asp
and if choose biometrics record,pop up window will display and
the parent window will not change.

how is that?

thanks!
0
Comment
Question by:ziaguintu5
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 9

Accepted Solution

by:
bhagyesht earned 200 total points
ID: 9656010

if this is the behaviour and you want to understand it then check for a script tag and an event registered this it should be changing the form's action property (either in the html page or js/vbs file)

if you want this behaviour then onsubmit event of the form call a function this function will check the value if personnel record is selected then doesnt change anything if biometrics is chosen then the form's target can be specified as _new so that it comes in a new window.
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
A short article about problems I had with the new location API and permissions in Marshmallow
Six Sigma Control Plans
Progress

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question