Fupdate

docs

This class just automates the basic pattern of having a form that, when submitted, should send its data to the server via Ajax and take whatever comes back and inject it into a DOM element.

  • I'm a list item that will be replaced when you submit the form above

new Fupdate($('fupdateForm'), $('fupdateReply'));
execute this code

That's pretty much all you gotta do.

About the name

I know - "Fupdate" (Form Update abbr.) is kinda lame, but I really couldn't come up with a better name... BTW, it's pronounced as one word (not "F-Update"; rather "fupdate"). I'm open to suggestions!

cnet-libraries/09-forms/05.1-fupdate.txt · Last modified: 2008/12/10 15:22 by aaron-n