You are here

function isbn_validate_ajax in ISBN Field 6

Ajax callback function for validating an ISBN

1 string reference to 'isbn_validate_ajax'
isbn_menu in ./isbn.module
Implementation of hook_menu().

File

./isbn.module, line 35
Defines ISBN field types.

Code

function isbn_validate_ajax($isbn_format, $isbn_number) {
  drupal_json(isbn_validate_number($isbn_number, $isbn_format));
}