Solved

pop up window without changing parent window

Posted on 2003-10-30
4
223 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
4 Comments
 
LVL 9

Accepted Solution

by:
bhagyesht earned 50 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

733 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