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