|
Posted by Geoff Berrow on 05/23/07 23:13
Message-ID: <256ei4-s96.ln1@ophelia.g5n.co.uk> from Toby A Inkster
contained the following:
>> What am I missing? It's javascript that appends the 'sure' variable to
>> the URL and without that delete.php won't do anything.
>
>As I said, when ($_GET['sure']==1) is false, delete.php should display an
>"are you sure?" form. (And although I didn't explicitly state it, I meant
>that that form should not require Javascript.)
But if delete.php is going to handle it like that (and indeed that's how
I'd do it) the Javascript is redundant. It just makes it a little
quicker for people with JS enabled, which is, I'll grant you good use of
JS, but hardly worth the effort in this case IMO.
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Navigation:
[Reply to this message]
|