Solved

pop up window without changing parent window

Posted on 2003-10-30
4
211 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
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.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

831 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