This commit is contained in:
Nathan Coad
2016-06-03 11:01:54 +10:00
parent d3ef2572a1
commit bfc1e642ab

View File

@@ -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
});
}