xxxxxxxxxx
id = $(this).attr('id'); // fetch the id from the ajax call using jquery
if($('#'+id).hasClass('disabled')){ //check disabled exist or not
console.log('disabled');
}