Forum Moderators: open

Message Too Old, No Replies

Using target="_blank" with form output

Netcape error - new window , but no data

         

mattlamb

12:15 am on Mar 1, 2003 (gmt 0)

10+ Year Member



I am using "target=_blank" in a form to open a new window and display the search results works fine in IE 5.0+, but in netscape 4.7 (others?) it opens a new window but no data shows up just a blank window?

what should I be using?

txbakers

12:21 am on Mar 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



a validator to test your code.

see the thread below about Netscape.

MWpro

4:58 am on Mar 1, 2003 (gmt 0)

10+ Year Member



By this "target=_blank" I am assuing your code looks like ...target=_blank. Try making it target="_blank"

As bakers said use a validator to test it, and if that still doesn't work you may want to use a javascript

DrDoc

4:16 pm on Mar 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



May I ask where you put the target attribute?

It should be in the <form> tag, like this:

<form action="path_to_program" method="post_or_get" target="_blank">

That should work in Netscape.

mattlamb

12:05 am on Mar 2, 2003 (gmt 0)

10+ Year Member



Thanks for your comments:

here is how Golive sets the code (yep sorry I am no coder its wysiwg for me).

enctype="ENCTYPE=x-www-form-encoded" method="POST" target="_blank"

DrDoc

4:13 am on Mar 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Aah, change the

enctype="ENCTYPE=x-www-form-encoded"

line to this:

enctype="application/x-www-form-urlencoded"

The rest of the line is ok.
:)

mattlamb

9:02 am on Mar 2, 2003 (gmt 0)

10+ Year Member



DrDoc, I tried : enctype="application/x-www-form-urlencoded"

But no difference still opens window that is blank in netscape 4.7 :(

fathom

9:11 am on Mar 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



A thought...

How large of a market in Netscape 4.7 do you have?

Most sites I manage are between 0.8% - 2.0%

Sometimes you need to persuade your markets to upgrade, rather than attempting to accommodate the potential "least profitable".

Site design for... helps alot.