• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
JavaScript - Enable Submit Button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

JavaScript - Enable Submit Button


  • Subject: JavaScript - Enable Submit Button
  • From: Erwin <email@hidden>
  • Date: Sun, 22 Aug 2004 10:30:42 +0200

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.



  • Follow-Ups:
    • Re: JavaScript - Enable Submit Button
      • From: Michael Engelhart <email@hidden>
    • Re: JavaScript - Enable Submit Button
      • From: Michael Engelhart <email@hidden>
  • Prev by Date: Re: Just once more, an EOF/ObjC replacement?
  • Next by Date: Re: Just once more, an EOF/ObjC replacement?
  • Previous by thread: [ANN] WOLips 1.1.0.82 beta 3
  • Next by thread: Re: JavaScript - Enable Submit Button
  • Index(es):
    • Date
    • Thread