For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > April 2005 > firefox issue with my code









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author firefox issue with my code
aznFETISH

2005-04-11, 3:56 pm

The below code is included on and upload page I have, it work perfectly in
IE but for some reason the upload button doesn't show up in Firefox, any
idea?
<form action="upload.php" method="post">

<LEGEND>Select the number of files to upload</LEGEND>
<br><br><select name='num'>
<?php
for($i = 1; $i <= 20; $i++)
{
echo "<option value=".$i.">".$i."</option>";
}
?> 
<input type="Submit" value="Upload Files">
</form>


Oli Filth

2005-04-12, 3:56 am

aznFETISH wrote:
> The below code is included on and upload page I have, it work perfectly in
> IE but for some reason the upload button doesn't show up in Firefox, any
> idea?
> <form action="upload.php" method="post">
>
> <LEGEND>Select the number of files to upload</LEGEND>
> <br><br><select name='num'>
> <?php
> for($i = 1; $i <= 20; $i++)
> {
> echo "<option value=".$i.">".$i."</option>";
> }
> ?> 
> <input type="Submit" value="Upload Files">
> </form>
>
>


You haven't closed the <select> element.

--
Oli
Rolf Zuerrer

2005-04-13, 3:56 pm

"aznFETISH" <news@aznfetish.com> schrieb im Newsbeitrag
news:BBw5e.36503$Pc.13724@tornado.tampabay.rr.com...
> <br><br><select name='num'>
> <?php
> for($i = 1; $i <= 20; $i++)
> {
> echo "<option value=".$i.">".$i."</option>";
> }
> ?> 

</select>
> <input type="Submit" value="Upload Files">
> </form>
>
>

As Oli said, you have to close the <select> tag. If you run Firefox anyway,
you could try its "HTML-Validator" Extension. It shows you errors in your
code at a glance at your status bar, a double click gives you all the
explanations. Really handy :-)

Hope, this helps
Rolf



--
-----------------------------------------------------
Please reply to newsgroup only
Bitte nur in Newsgroup antworten


Kimmo Laine

2005-04-13, 8:55 pm

"Rolf Zuerrer" <oceglok@hotmail.com> kirjoitti
viestissä:3c55tjF6fhgasU1@individual.net...
> "aznFETISH" <news@aznfetish.com> schrieb im Newsbeitrag
> news:BBw5e.36503$Pc.13724@tornado.tampabay.rr.com...
> </select>
> As Oli said, you have to close the <select> tag. If you run Firefox
> anyway,
> you could try its "HTML-Validator" Extension. It shows you errors in your
> code at a glance at your status bar, a double click gives you all the
> explanations. Really handy :-)
>


Is there a similar to detect javscript flaws? I've got one totally bizarre
which occurs only in Firefox and I've tried my best to find it. Now I'm
almost certain that it just hates me.


Oli Filth

2005-04-13, 8:55 pm

Kimmo Laine wrote:
> "Rolf Zuerrer" <oceglok@hotmail.com> kirjoitti
> viestissä:3c55tjF6fhgasU1@individual.net...
>
>
>
> Is there a similar to detect javscript flaws? I've got one totally bizarre
> which occurs only in Firefox and I've tried my best to find it. Now I'm
> almost certain that it just hates me.
>
>

The Web Developer's toolbar plug-in has a Javascript console that
indicates errors and warnings.

https://addons.update.mozilla.org/e...?numpg=10&id=60

--
Oli
Kimmo Laine

2005-04-14, 8:55 am

"Oli Filth" <catch@olifilth.co.uk> wrote in message
news:kkg7e.21247$il.11856@newsfe5-win.ntli.net...
> Kimmo Laine wrote:
> The Web Developer's toolbar plug-in has a Javascript console that
> indicates errors and warnings.
>
> https://addons.update.mozilla.org/e...?numpg=10&id=60
>



That's great! Solved the problem in two minutes after installing that.
That's just great! The problem was: I had a variable named float, which Fx
concidered as reserved and therefore refused to execute the code. Getting a
bit offtopic here, but the toolbar is just great. I don't mean just for the
javascript console, because there's all sorts of code highlighting and such.
What a wonderful wonderful tool. Thanks for the link!

--
Welcome to Usenet! Please leave tolerance, understanding
and intelligence at the door. They aren't welcome here.
eternal piste erection miuku gmail piste com


LÄÊ»ie Techie

2005-04-30, 8:55 am

On Thu, 14 Apr 2005 09:26:00 +0300, Kimmo Laine wrote:

> That's great! Solved the problem in two minutes after installing that.
> That's just great! The problem was: I had a variable named float, which Fx
> concidered as reserved and therefore refused to execute the code.


I'm assuming you're talking JavaScript here, cause PHP gets executed on
the server, not the browser.

La'ie Techie


Kimmo Laine

2005-04-30, 3:56 pm

"La?ie Techie" <laie@win_remove_get_nospam_solutions.com> kirjoitti
viestissä:1114851272. b8166a6a78113412415fa27cfdf2c1e0@teranew
s...
> On Thu, 14 Apr 2005 09:26:00 +0300, Kimmo Laine wrote:
>
>
> I'm assuming you're talking JavaScript here, cause PHP gets executed on
> the server, not the browser.



Had you read the entire message including quotes, you'd know I was indeed
referring to JavaScript which you so cleverly pointed out.

--
"I am pro death penalty. That way people learn
their lesson for the next time." -- Britney Spears

eternal.erectionN0@5P4Mgmail.com


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com