Comments on: Stealth Submit: Using AJAX to Save Form Data Without Submitting the Form Tech Tips, Reviews, Tutorials, Occasional Rants Sat, 31 Aug 2013 15:50:35 +0000 hourly 1 By: Shamim Ansari Mon, 16 May 2011 06:27:27 +0000 I like this code but please give me the same code function in cakephp.

I need urgently.

plzz mail me the cakephp code of this example.

By: Everett - Fri, 02 Jan 2009 20:16:22 +0000 Just a couple clarifications:

The “action.php” page would be where you put your normal form processing. Index.php submits to action.php. Some forms submit to themselves, others submit to a separate file… figuring that stuff out is the easy part.

Why do I need the Prototype library? You need the Prototype javascript library because that’s what makes it easy to read form variables and submit them to the database-insert function with AJAX. The magic is triggered by this little bit in the body tag:
body onunload="saveData()"

By: doez Thu, 25 Dec 2008 01:04:54 +0000 thx