CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Disabling buttons after form submit

Print topic Send  topic

Author Message
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


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.