Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
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

You can’t perform that action at this time.