Change form target ...

Javascript coding ..

Moderators: macek, egami, gesf

User avatar
WoozyDuck
New php-forum User
New php-forum User
Posts: 191
Joined: Wed May 05, 2004 10:14 am

Change form target ...

Postby WoozyDuck » Thu Apr 14, 2005 7:02 am

Hi all

For instance we have a form with BLANK target to show the action in new window. is it possible to change this target dynamicly before clicking the submit button?

I mean is it possible to give the users the option to show the action in SAME WINDOW or NEW WINDOW at one form?

sadisticmachine
New php-forum User
New php-forum User
Posts: 109
Joined: Tue Nov 02, 2004 5:33 am

Postby sadisticmachine » Thu Apr 14, 2005 11:11 am

two submit buttons, each with a different target parameter.

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Postby Alexej Kubarev » Thu Apr 14, 2005 1:13 pm

or you way play around with functions and onsubmit property

User avatar
WoozyDuck
New php-forum User
New php-forum User
Posts: 191
Joined: Wed May 05, 2004 10:14 am

Postby WoozyDuck » Fri Apr 15, 2005 9:27 am

I have actually used a function to change form.target
cheers


Return to “JavaScript”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest