PvD
|
Posted: 04/15/2003, 11:56 PM |
|
Hi,
I have a strange issue when I try to disable buttons after the form has been
submitted.
I use an onClick event that fires a piece of javascript that disables the
buttons after submitting the form.
It works like a breeze when adding or editing records but when the action is
geared towards deleting a record, it won't work.
For some reason it doesn't execute the delete action, even though the form
is submitted. It doesn't matter whether the submit is triggered through the
form itself (button type=submit) or through a piece of script (button
type=button onClick="doSubmit()" )
Like I said, when I add or edit records, both solutions work fine.
I'm sure it's a minor thing that I'm overlooking. The question is: "what am
I missing?"
Peter
|
|
|
|