Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > New Window from Form Button

Reply
Thread Tools

New Window from Form Button

 
 
hishighness420@gmail.com
Guest
Posts: n/a
 
      10-11-2006
Hey all, I'm just wondering if there's a way to make a new window open
when you click a form button.

Thanks for your time.

 
Reply With Quote
 
 
 
 
hishighness420@gmail.com
Guest
Posts: n/a
 
      10-11-2006

wrote:
> Hey all, I'm just wondering if there's a way to make a new window open
> when you click a form button.
>
> Thanks for your time.


Nevermind, I got it add target="_blank" to the form tag.

DUH?

 
Reply With Quote
 
 
 
 
jojo
Guest
Posts: n/a
 
      10-11-2006
wrote:

> Hey all, I'm just wondering if there's a way to make a new window open
> when you click a form button.


Why do you want to open a new window? Just a hint: most users do not
really like new windows opening themselves... That's one of the reasons
why HTML 4.01 strict and XHTML strict do not longer have the
target-attribute.

jojo
 
Reply With Quote
 
Andy Dingley
Guest
Posts: n/a
 
      10-11-2006

jojo wrote:

> Why do you want to open a new window? Just a hint: most users do not
> really like new windows opening themselves... That's one of the reasons
> why HTML 4.01 strict and XHTML strict do not longer have the
> target-attribute.


That's not why the target attribute isn't in the HTML 4.01 Strict DTD.
It was removed for structural reasons (it's still used with frames,
which use the other DTDs) and had nothing to do with usability.

Opening new windows is a risky business and often unwelcome, but it's
not why target disappeared.

 
Reply With Quote
 
hishighness420@gmail.com
Guest
Posts: n/a
 
      10-12-2006
This isn't a website for anyone else, it's a local tool for me. I'm
using it so I can enter a bunch of different data in to one site, so I
use form fields to enter the data, then submit it to SELF, then submit
each individual piece of data one by one to the site in a new window.
Saves me boatloads of time because most of the data I'm entering in to
the original site is the same every time but one part of it was
different so an auto form wouldn't work the way I needed. This way I
can enter all the info that's the same in hidden form fields and the
parts that need to change I can change and submit.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
new window has info from form in parent window woody Javascript 2 12-09-2004 01:27 PM
new window contains values from form in parent window woody8624@gmail.com Javascript 1 12-09-2004 04:59 AM
How to use an asp:button to create a new browser window and output contents to new window =?Utf-8?B?Tm92aWNl?= ASP .Net 2 06-09-2004 10:54 PM
How do I open a new normal (full sized) browser window form a small "pop-up" window? Shiperton Henethe HTML 17 05-21-2004 07:36 AM
New window being spawned from dialog page when button clicked on form =?Utf-8?B?UGF0cmljaw==?= ASP .Net 2 01-23-2004 07:12 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57