[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 239
  • Last Modified:

pop up window without changing parent window

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
ziaguintu5
Asked:
ziaguintu5
1 Solution
 
bhagyeshtCommented:

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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now