Code Comments
Programming Forum and web based access to our favorite programming groups.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>
Post Follow-up to this messageaznFETISH 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
Post Follow-up to this message"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
Post Follow-up to this message"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.
Post Follow-up to this messageKimmo 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
Post Follow-up to this message"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
Post Follow-up to this messageOn 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
Post Follow-up to this message"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
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.