Link to home
Start Free TrialLog in
Avatar of thatelvis
thatelvis

asked on

layer popuform link

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
Avatar of Jason Minton
Jason Minton
Flag of United States of America image

in the <form> tag you can add a target="window name" and also if you want an onsubmit="something"
ASKER CERTIFIED SOLUTION
Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of thatelvis
thatelvis

ASKER

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
Michel

Thank you very much it worked a charm.

<form target="_top"

regards

Kenny
I used this along with dmxzones popup layer extension and it worked just perfect.
Glad to help...

thanks for returning....