Solved

pop up window without changing parent window

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
matchUp  challenge 9 71
triangle challenge 4 77
Specific format 21 140
python sqlite question 11 42
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
This is about my first experience with programming Arduino.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now