Re: how to create (open) a dialog box [message #175137 is a reply to message #175136] |
Tue, 16 August 2011 20:13 |
Tim Streater
Messages: 328 Registered: September 2010
Karma:
|
Senior Member |
|
|
In article <j2eio6$mer$1(at)dont-email(dot)me>,
sheldonlg <sheldonlg(at)thevillages(dot)net> wrote:
> Wouldn't you use onsubmit only if you are submitting the entire page?
> The onclick allows you to confirm the deletion, send off an AJAX
> request, and still stay on the page.
Yes. In my app I never submit any forms at all. Everything happens via
onclick events and ajax.
--
Tim
"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
|
|
|