Skip to content

Instantly share code, notes, and snippets.

@handhikadj
Created August 6, 2018 06:40
Show Gist options
  • Save handhikadj/f812a7a625384475602d689f3ce6f9b9 to your computer and use it in GitHub Desktop.
Save handhikadj/f812a7a625384475602d689f3ce6f9b9 to your computer and use it in GitHub Desktop.
Error
error: function(data) {
$('#tabs').show();
$('#nama_forpromotor').removeClass('borb-1').addClass('wrong-data-tab animated flash');
var message = data.responseJSON.errors.nama_promotor[0];
$('#errorspromotor').addClass('animated fadeIn').text(message);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment