Cakephpdocs 51

CategoryFunctions in the Ajax Helper (18 of them) - use Prototype JavaScript Framework
Code ExamplesFunction Description ===== ========================== afterRender() Includes code blocks after a view has been rendered autoComplete() Creates an autocomplete text field div() Creates a
element for Ajax updates divEnd() Closes an Ajaxed
element drag() Creates a draggable element; requires the Scriptaculous animation libraries drop() Creates a droppable element; requires Scriptaculous dropRemote() Creates an area that triggers an Ajax response when a draggable is dropped onto it editor() Creates an editor control that is swapped for the element when triggered by the user; requires Scriptaculous form() Creates a form element that runs in the background when submitted isAjax() Returns true if the current request is a Prototype update link() Creates a link to run an Ajax call observeField() Triggers an Ajax response when the observed field is changed observeForm() Observes a form and triggers an Ajax response when changed remoteFunction() Creates Ajax functions to be run, usually in conjunction with a link() event remoteTimer() Triggers an Ajax response at a specified time interval slider() Creates a slider control; requires Scriptaculous sortable() Makes lists or other objects sortable; requires Scriptaculous submit() Renders a form submit button that triggers an Ajax form submission
Test Code
Links
Remarks
Cancel