Change form target ...

Javascript coding ..

Moderators: egami, macek, gesf

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

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

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: 2213
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Thu Apr 14, 2005 1:13 pm

or you way play around with functions and onsubmit property
Best Regards,
Alexej Kubarev
-------------------------------
Zend Certified Engineer
Image Image

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

Fri Apr 15, 2005 9:27 am

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

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest