No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
drupal_custom_ajax.info
drupal_custom_ajax.js
drupal_custom_ajax.module

README.md

Drupal AJAX call on success

Problem: I want to call a JS function after a successfull AJAX call.

Code:

  • drupal_custom_ajax.module: Contains drupal related code
  • drupal_custom_ajax.js: Create post success JS code

Installing:

  • Install this module
  • Go to /test_page_ajax
  • Click the link

If you want to change the post success JS function, open drupal_custom_ajax.js