So - that fires with a return true if confirmed, which allows
the href to
kick in?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Lionstone" <HIDElionstone@HIDEhushmail.com> wrote in
message
news:etpbmb$isk$1@forums.macromedia.com...
> onClick = "return confirm('Delete this record?');"
>
>
> "Murray *ACE*" <forums@HAHAgreat-web-sights.com>
wrote in message
> news:etp95l$fl6$1@forums.macromedia.com...
>> Thanks, Joe. This is for an admin function, not the
general public. And
>> it's to prevent inadvertant record deletions that
seem to be happening
>> with alarming frequency with this particular site!
8)
>>
>> I think I'll opt for the javascript pop-up just now.
So, how's that work
>> again? 8)
>>
>> --
>> Murray --- ICQ 71997575
>> Adobe Community Expert
>> (If you *MUST* email me, don't LAUGH when you do
so!)
>> ==================
>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>> ==================
>>
>>
>> "Joe Makowiec" <makowiec@invalid.invalid>
wrote in message
>>
news:Xns98F98BFE94E74makowiecatnycapdotrE@216.104.212.96...
>>> On 20 Mar 2007 in macromedia.dreamweaver.appdev,
Murray *ACE* wrote:
>>>
>>>> For a record delete function, what's the
best way to implement such a
>>>> confirmation widgie?
>>>
>>> I don't know as there's a best way. Some of us
will say something like
>>> 'If I wasn't sure, I wouldn't be doing it'.
>>>
>>> But I can think of a few:
>>> - Checkbox you have to tick, in addition to
whatever else you have to
>>> do,
>>> to make the script fire. Error message is
something like "You didn't
>>> check the box beneath the list of records to
delete that says []OK to
>>> delete"
>>> - Intermediate page, requiring another button
click, that links to the
>>> actual deletion script
>>> - Javascript popup "Are you sure?" before the
script fires
>>>
>>> Of the three, I'd pick the intermediate page
option, but you're still
>>> going to annoy some people. As always, YMMV.
>>>
>>> --
>>> Joe Makowiec
>>>
http://makowiec.net/
>>> Email:
http://makowiec.net/contact.php
>>
>>
>
>