js test
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
Drupal.ajax.prototype.commands.bookingEmailIDs = function(ajax, response, status) {
|
||||
|
||||
jQuery(function($) {
|
||||
var initValues = $('#booking_email_default_ids').val();
|
||||
alert(initValues); // this will be executed after the ajax call
|
||||
var arr = $.parseJSON($('input#booking_email_default_ids').val())
|
||||
alert(arr.first()); // this will be executed after the ajax call
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user