Changes for page ERPrototaculous

Last modified by Ravi Mendis on 2010/11/18 05:07

From version 285.1
edited by Ravi Mendis
on 2009/07/17 01:57
Change comment: There is no comment for this version
To version 284.1
edited by Ravi Mendis
on 2009/07/17 02:03
Change comment: Add code snippet for Javascript

Summary

Details

Page properties
Content
... ... @@ -34,8 +34,14 @@
34 34  * AjaxUpdaterButton
35 35  * AjaxUpdaterForm (with ##onsubmit## for ajax form submission)
36 36  
37 -These components will update a **container** on the page.
37 +These components will update a **container** on the page:
38 38  
39 +{{code value="javascript"}}
40 +
41 + new Ajax.Updater('container', url, {options});
42 +
43 +{{/code}}
44 +
39 39  ===== Ajax.Request =====
40 40  
41 41  Prototype's [[Ajax.Request>>http://www.prototypejs.org/api/ajax/request]] is in the form of:
... ... @@ -43,8 +43,14 @@
43 43  * AjaxRequestLink
44 44  * AjaxRequestButton
45 45  
46 -These are used for strictly **background** ajax communication.
52 +These are used for strictly **background** ajax communication:
47 47  
54 +{{code value="javascript"}}
55 +
56 + new Ajax.Request(url, {options});
57 +
58 +{{/code}}
59 +
48 48  ==== Prototype + Scriptaculous Widgets ====
49 49  
50 50  * Accordion