Comments on: Stealth Submit: Using AJAX to Save Form Data Without Submitting the Form http://tipsfor.us/2008/11/21/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 https://wordpress.org/?v=4.8 By: Shamim Ansari http://tipsfor.us/2008/11/21/stealth-submit-using-ajax-to-save-form-data-without-submitting-the-form/#comment-8849 Mon, 16 May 2011 06:27:27 +0000 http://www.tipsfor.us/?p=1007#comment-8849 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 - TipsFor.us http://tipsfor.us/2008/11/21/stealth-submit-using-ajax-to-save-form-data-without-submitting-the-form/#comment-4850 Fri, 02 Jan 2009 20:16:22 +0000 http://www.tipsfor.us/?p=1007#comment-4850 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 http://tipsfor.us/2008/11/21/stealth-submit-using-ajax-to-save-form-data-without-submitting-the-form/#comment-4807 Thu, 25 Dec 2008 01:04:54 +0000 http://www.tipsfor.us/?p=1007#comment-4807 thx

]]>