Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: Buttons on Netscape


Message #1 by "Warren S. Wyght" <wswyght@t...> on Sat, 10 Jun 2000 15:31:12 -0600
Howdy



I have built a site that uses a if else statement to show one half of the page at a time. The navigation buttons work fine on EI but
not on Netscape.



I have no idea why.



Here is the code, there is no VBScript in it there is JavaScript and ASP.

JavaScript in this color

ASP in this color what ever the heck this color is

Buttons in question in this color

Button that does work WHICH is before the if in this color

Comments in this color



=====================Start code ==================================



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<Script>

function Back()

{

    javascript:history.back();

}

</script>

<html>

<head>

 <title>Trial ADO</title>

</head>



<body bgcolor="#00ffff">



<HR>

<%

If Request.Form ("forIf") = "" Then

Response.Write"<B>Phone Numbers for magrath from 1997</b><HR>"

%>

<FORM method="post" action="TADO1.asp" id="TADO1" name="TADO1">



<input type="Hidden" name="forIf" value="Warren S. Wyght" title="IfTrue" id="IfTrue"></input><INPUT type=submit
value="Get List of Numbers!" id=SubmitButton name=submit1>

<FORM method="post" action="TADO1.asp" id="TADO1" name="TADO1"></Form> </Form>

<%

Else

%>



<!-- TWO BUTTONS HERE NEITHER WORK WHY??-->

<INPUT type=submit value="Get List of Numbers!" id=SubmitButton name=submit1>

<input type = "button" name="GoBack" value="Back One Page" tabindex="0" title="BtnGoBack" id="GoBackBnt" onClick="Back()">

<h1>test</h1><!--JUST TO SEE IF I GET HERE OR NOT-->

<!--Table and information from Database to go in this section-->

<%End If %>

<HR>

</body>

</html>



=====================End code ==================================



Thanks for any advice you can give me. I do have beginning ASP Databases, but I can not find a answer for this. By the way this is
so I can have my users build a SQL for the RS that will show on second half of page. My Teach yourself Active Server Pages 3.0 in 21
Days has

not shown up in my mail box yet.



Warren S. Wyght



Message #2 by "Ken Schaefer" <ken.s@a...> on Sun, 11 Jun 2000 23:14:12 +1000
I think the answer is right in front of you:



Under the <%else%> condition, you are not writing a <form> tag to the page.

Netscape will not (and shoudn't) submit a form using a submit button if

they're not enclosed by a <form></form> tags.



As well, under the <%if...then%> condition, you have a redundant </form>

tag, which you should probably remove.



Cheers

Ken





----- Original Message -----

From: "Warren S. Wyght" <wswyght@t...>

To: "ASP Databases" <asp_databases@p...>

Sent: Sunday, June 11, 2000 7:31 AM

Subject: [asp_databases] Buttons on Netscape





> Howdy

>

> I have built a site that uses a if else statement to show one half of the

page at a time. The navigation buttons work fine on EI but not on Netscape.

>

> I have no idea why.

>

> <%

> If Request.Form ("forIf") = "" Then

> Response.Write"<B>Phone Numbers for magrath from 1997</b><HR>"

> %>

> <FORM method="post" action="TADO1.asp" id="TADO1" name="TADO1">

>

> <input type="Hidden" name="forIf" value="Warren S. Wyght" title="IfTrue"

id="IfTrue"></input><INPUT type=submit value="Get List of Numbers!"

id=SubmitButton name=submit1>

> <FORM method="post" action="TADO1.asp" id="TADO1" name="TADO1"></Form>

</Form>

> <%

> Else

> %>

>

> <!-- TWO BUTTONS HERE NEITHER WORK WHY??-->

> <INPUT type=submit value="Get List of Numbers!" id=SubmitButton

name=submit1>

> <input type = "button" name="GoBack" value="Back One Page" tabindex="0"

title="BtnGoBack" id="GoBackBnt" onClick="Back()">

> <h1>test</h1><!--JUST TO SEE IF I GET HERE OR NOT-->

> <!--Table and information from Database to go in this section-->

> <%End If %>

> <HR>

> </body>

> </html>

>





Message #3 by Mark Everest <Mark.Everest@t...> on Mon, 12 Jun 2000 09:37:55 +0100
I think that buttons outside of a form do not work in NetScape (ugh!)



-----Original Message-----

From: Warren S. Wyght [mailto:wswyght@t...]

Sent: 10 June 2000 22:31

To: ASP Databases

Subject: [asp_databases] Buttons on Netscape





Howdy



I have built a site that uses a if else statement to show one half of the

page at a time. The navigation buttons work fine on EI but not on Netscape.



I have no idea why.



Here is the code, there is no VBScript in it there is JavaScript and ASP.

JavaScript in this color

ASP in this color what ever the heck this color is

Buttons in question in this color

Button that does work WHICH is before the if in this color

Comments in this color



=====================Start code ==================================



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<Script>

function Back()

{

    javascript:history.back();

}

</script>

<html>

<head>

 <title>Trial ADO</title>

</head>



<body bgcolor="#00ffff">



<HR>

<%

If Request.Form ("forIf") = "" Then

Response.Write"<B>Phone Numbers for magrath from 1997</b><HR>"

%>

<FORM method="post" action="TADO1.asp" id="TADO1" name="TADO1">



<input type="Hidden" name="forIf" value="Warren S. Wyght" title="IfTrue"

id="IfTrue"></input><INPUT type=submit value="Get List of Numbers!"

id=SubmitButton name=submit1>

<FORM method="post" action="TADO1.asp" id="TADO1" name="TADO1"></Form>

</Form>

<%

Else

%>



<!-- TWO BUTTONS HERE NEITHER WORK WHY??-->

<INPUT type=submit value="Get List of Numbers!" id=SubmitButton

name=submit1>

<input type = "button" name="GoBack" value="Back One Page" tabindex="0"

title="BtnGoBack" id="GoBackBnt" onClick="Back()">

<h1>test</h1><!--JUST TO SEE IF I GET HERE OR NOT-->

<!--Table and information from Database to go in this section-->

<%End If %>

<HR>

</body>

</html>



=====================End code ==================================



Thanks for any advice you can give me. I do have beginning ASP Databases,

but I can not find a answer for this. By the way this is so I can have my

users build a SQL for the RS that will show on second half of page. My Teach

yourself Active Server Pages 3.0 in 21 Days has

not shown up in my mail box yet.



Warren S. Wyght





---

Wrox Professional Wireless Developer Conference, Amsterdam, July 10-12.

Covering application of WAP, XML, ASP, Java and C++ to wireless computing,

choose from 40+ technical sessions delivered by industry experts:

http://www.wroxconferences.com/ConferenceHome.asp?ConfID=9

---

You are currently subscribed to asp_databases 




Message #4 by Kevin_Riggs@p... on Mon, 12 Jun 2000 07:29:16 -0400



Ken, et al



     Netscape will not show buttons or form elements unless you encase the all

the elements within the <form></form> tags.  IE has the "ability" to

autogenerate form tags for itself on the fly.  This means that if you write some

HTML with no <form></form> tags on the page but you put an <insert type=text . .

. > IE will show that element while Netscape will not.



KD





Message #5 by "Robert Larsson" <robert.l@m...> on Mon, 12 Jun 2000 16:23:08 -0700
As you all see Netscape causes problem for all of us. I say we ban the

sucker. In sweden a company called IDG made a research and came to a

conclusion that Netscape only has 11% of the people using it and Internet

Explorer has 88% of the people and 1% to all the other browsers.. Netscape

causes so many problems that makes me and probably you to think it's

frustrating and boring to make homepages.



/Robban (Web-Developer!)



----- Original Message -----

From: <Kevin_Riggs@p...>

To: "ASP Databases" <asp_databases@p...>

Sent: Monday, June 12, 2000 4:29 AM

Subject: [asp_databases] Re: Buttons on Netscape





>

>

> Ken, et al

>

>      Netscape will not show buttons or form elements unless you encase the

all

> the elements within the <form></form> tags.  IE has the "ability" to

> autogenerate form tags for itself on the fly.  This means that if you

write some

> HTML with no <form></form> tags on the page but you put an <insert

type=text . .

> . > IE will show that element while Netscape will not.

>

> KD

>

>

>

> ---

> Wrox Professional Wireless Developer Conference, Amsterdam, July 10-12.

Covering application of WAP, XML, ASP, Java and C++ to wireless computing,

choose from 40+ technical sessions delivered by industry experts:

http://www.wroxconferences.com/ConferenceHome.asp?ConfID=9

> ---

> You are currently subscribed to asp_databases


$subst('Email.Unsub')

>

>



Message #6 by Mark Everest <Mark.Everest@t...> on Mon, 12 Jun 2000 15:51:22 +0100
Robban,



That's interesting!!! Do you have the web address of the details about the

survey so I can shove it under my boss' nose (he rekons that over 50% of

people still use NutScrape , but I want to ditch it!!)



Thanks



-----Original Message-----

From: Robert Larsson [mailto:robert.l@m...]

Sent: 13 June 2000 00:23

To: ASP Databases

Subject: [asp_databases] Re: Buttons on Netscape





As you all see Netscape causes problem for all of us. I say we ban the

sucker. In sweden a company called IDG made a research and came to a

conclusion that Netscape only has 11% of the people using it and Internet

Explorer has 88% of the people and 1% to all the other browsers.. Netscape

causes so many problems that makes me and probably you to think it's

frustrating and boring to make homepages.



/Robban (Web-Developer!)



----- Original Message -----

From: <Kevin_Riggs@p...>

To: "ASP Databases" <asp_databases@p...>

Sent: Monday, June 12, 2000 4:29 AM

Subject: [asp_databases] Re: Buttons on Netscape





>

>

> Ken, et al

>

>      Netscape will not show buttons or form elements unless you encase the

all

> the elements within the <form></form> tags.  IE has the "ability" to

> autogenerate form tags for itself on the fly.  This means that if you

write some

> HTML with no <form></form> tags on the page but you put an <insert

type=text . .

> . > IE will show that element while Netscape will not.

>

> KD

>

>

>

> ---

> Wrox Professional Wireless Developer Conference, Amsterdam, July 10-12.

Covering application of WAP, XML, ASP, Java and C++ to wireless computing,

choose from 40+ technical sessions delivered by industry experts:

http://www.wroxconferences.com/ConferenceHome.asp?ConfID=9

> ---

> You are currently subscribed to asp_databases


$subst('Email.Unsub')

>

>





---

Wrox Professional Wireless Developer Conference, Amsterdam, July 10-12.

Covering application of WAP, XML, ASP, Java and C++ to wireless computing,

choose from 40+ technical sessions delivered by industry experts:

http://www.wroxconferences.com/ConferenceHome.asp?ConfID=9

---

You are currently subscribed to asp_databases 




Message #7 by "Daniel Walker" <danielw@w...> on Mon, 12 Jun 2000 17:52:53
On 06/12/00, Mark Everest wrote:

> Robban,

> 

> That's interesting!!! Do you have the web address of the details about the

> survey so I can shove it under my boss' nose (he rekons that over 50% of

> people still use NutScrape , but I want to ditch it!!)

> 

> Thanks

> 

While I have my own views about Netscape vs IE, I feel we're going a bit 

off topic with this thread. This is the "ASP Databases" list from 

boring-old Wrox Press - not slashdot.com :-) ! I'm also worried that it 

might get libellous. can we kill it please?



http://slashdot.org/articles/00/06/11/051244.shtml


  Return to Index