RE: [PHP-WIN] Firefox versus IE
| From: | Styve Couture | Date: | Tue, 17 Apr 2007 11:17:02 +0000 |
| Subject: | RE: [PHP-WIN] Firefox versus IE | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-27706@lists.php.net to get a copy of this message | ||
As in the html4 spec, you should have an attribute name for your button. See
http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#control-name
-----Message d'origine-----
De : Alf Stockton [mailto:alf@stockton.co.za]
Envoyé : 17 avril 2007 06:56
À : php windows
Objet : [PHP-WIN] Firefox versus IE
I have a web page that works perfectly with Firefox but fails with IE.
Please tell me what needs fixing.
I have extracted the bits I think are relavent as follows:-
<form name = 'SelectEvent' ID='SelectEvent' method='get'
action='AdjustmentReport.php'>
and
<BUTTON TYPE='submit'>Submit</BUTTON>
if (isset($HTTP_REFERER))
{
echo "<a href='$HTTP_REFERER'><BUTTON
TYPE='submit'>Back</BUTTON></a>";
} else {
echo "<a href='javascript:history.back()'><BUTTON
TYPE='submit'>Back</BUTTON></a>";
}
neither the submit nor the back buttons work in IE but both work fine in
Firefox.
Javascript is enabled in both browsers.
--
Regards,
Alf Stockton www.stockton.co.za
Clothes make the man. Naked people have little or no influence on society.
-- Mark Twain
My email disclaimer is available at www.stockton.co.za/disclaimer.html
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php