Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

Extend cakephp's Postlink with so that the form is submitted via ajax

Notifications You must be signed in to change notification settings

jbennecker/cakephp-ajaxPostLinks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

cakephp-ajaxPostLinks

Extend cakephp's Postlink with so that the form is submitted via ajax

use

$(selector).ajaxPostLink({
    errorCallback: function(errorMessage) {},
    successCallback: function(message, element) {},
    errorMessage: 'defaulterrormessage'
});

options:

  • successCallback: function executed, after servers response = true
  • errorCallback: function executed, on error

About

Extend cakephp's Postlink with so that the form is submitted via ajax

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published