We help IT Professionals succeed at work.

layer popuform link

163 Views
Last Modified: 2013-11-19
Hello
when I have a page with a link to a pop up layer, which has a link inside it. it works and i am very please, but inside the pop up i have to have the link below if i want the page to submit back to itself and the pop up layer to close. all in all it works.
<a href="javascript:;" onClick="parent.location='../../master_test.asp'">

My question is how can I do this with a form action

I have

 <form name="form1" method="post" action="../../master_test.asp">

i want to post some form variables back to myself. remember the pop up is the a layer pop up
I use the code from http://www.dmxzone.com/showDetail.asp?TypeId=3&NewsId=12769 .

how can i make the address in the form action to be onpar with this

onClick="parent.location='../../master_test.asp'">

regards

kenny
Comment
Watch Question

Jason MintonEpic ODBA

Commented:
in the <form> tag you can add a target="window name" and also if you want an onsubmit="something"
IT Expert
CERTIFIED EXPERT
Top Expert 2009
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Michel,
Thank you for your reply I did not see it before. I shall have a go at it later today and will be back.

thanks again

Kenny

Author

Commented:
Michel

Thank you very much it worked a charm.

<form target="_top"

regards

Kenny

Author

Commented:
I used this along with dmxzones popup layer extension and it worked just perfect.
Michel PlungjanIT Expert
CERTIFIED EXPERT
Top Expert 2009

Commented:
Glad to help...

thanks for returning....
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.