jquery ajax success change class of another html page code example
Example: on success replace class div ajax
$(selector).replaceWith(content,function(index))
//example
$('alert').replaceWith('alert alert-success')
//or
$('alert').addClass('alert-succes')