|
-
Oct 11th, 2001, 11:35 PM
#1
Thread Starter
Junior Member
Netscape troubles
I have some seemingly innoscent looking code that goes as follows:
<SELECT NAME="calzone_options" onChange="OnChange(this);">
<option value="no" selected>calzone options</option>
<option value="90">Calzone</option>
<option value="91">Calzone Kiev</option>
</select>
This runs fine in IE5.5, but simply prints "calzone optionsCalzoneCalzoneKiev" in the newest Netscape.
I have tried taking away the onChange event for testing purposes, and it still did the same thing.
I also tried adding the size tag with the same results.
If anyone knows what I am doing wrong, help would be appriciated.
Thanks
-
Oct 12th, 2001, 04:26 AM
#2
Hyperactive Member
You have got it inside <form></form> tags right!
-
Oct 12th, 2001, 11:30 AM
#3
PowerPoster
that code should work fine in netscape
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Oct 12th, 2001, 04:50 PM
#4
Fanatic Member
progressive's right about the <form></form> tags. Netscape requires you to have them. Any tags that the browser doesn't recognize aren't displayed and only the text would be output.
-
Oct 12th, 2001, 05:17 PM
#5
Thread Starter
Junior Member
I have it in the <form></form> tags and everything.
-
Oct 12th, 2001, 07:16 PM
#6
PowerPoster
could you post the whole code?
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Oct 12th, 2001, 08:03 PM
#7
not positive but take out the onchange() function and see if it will run. I seen this before and think that was it.
or rename the onchange. I don't think you can have a function name for the name of the function. if that makes since.
onChange=onChange ??
-
Oct 12th, 2001, 08:07 PM
#8
PowerPoster
but one of them has a capital O. so i don't think it would matter.
it might though,
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Oct 12th, 2001, 08:09 PM
#9
true didn't notice that. but I would still change it.
-
Oct 12th, 2001, 08:27 PM
#10
PowerPoster
yeah...it's just a bad programming practice in general
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Oct 13th, 2001, 07:38 PM
#11
Thread Starter
Junior Member
The Code
Here is the trouble page. I have tried removing all parts of it including the onClick Event and it still wont work.
URL:
http://www.syzme.f2s.com/pritho/test.php
-
Oct 13th, 2001, 07:47 PM
#12
PowerPoster
which version of NS? 4x or 6? so i know which to install?
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Oct 13th, 2001, 11:18 PM
#13
dude you have to have teh form tags. Progressive already told you this in teh first post. you don't have them.
this is what you have
Code:
<body bgcolor="#FFFFFF" text="#000000">
<SELECT NAME="pizza_options" onChange="OnChange(this);">
<option value="no" selected>pizza options</option>
<option value="2">Quatro Formaggi</option>
<option value="1">Margherita </option>
<option value="3">Proscuitto</option>
<option value="4">Tropicana</option>
<option value="5">Farmhouse
you have to have form tags.
Code:
<body bgcolor="#FFFFFF" text="#000000">
<form>
<SELECT NAME="pizza_options" onChange="OnChange(this);">
<option value="no" selected>pizza options</option>
<option value="2">Quatro Formaggi</option>
<option value="1">Margherita </option>
<option value="3">Proscuitto</option>
<option value="4">Tropicana</option>
<option value="5">Farmhouse
then on teh last line of your select just put </form>
-
Oct 13th, 2001, 11:26 PM
#14
Fanatic Member
That's what I figured it was. Netscape is very picky about it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|