Re: JavaScript - Enable Submit Button
Re: JavaScript - Enable Submit Button
- Subject: Re: JavaScript - Enable Submit Button
- From: Michael Engelhart <email@hidden>
- Date: Sun, 22 Aug 2004 08:02:14 -0500
Try this:
onchange "this.form.savebutton.disabled= false; return true;"
Mike
On Aug 22, 2004, at 3:30 AM, Erwin wrote:
I would like to enable/disabled a 'Save Form Data' button if anyone
text fields changed before submitting the form.
I selected 'multiple submit = true' in my form and I inserted 2
dynamic submit buttons 'Save' and 'Submit'
I binded the 2 buttons to 2 actions 'saveData' and 'submitForm'
The 'Save' button is initially disabled
I am enabling the Save button using a JavaScript string in all my
textfields
-> onChange "this.form.savebutton.disabled= false;"
Running, when I modifiy one of the textfields, the Save button is
enabled ... good
but I never get into the saveData action......
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.