How do I change the color of the progressive bar when an error occurs?
<div id="divMenu"></div>
<div id="divModals"></div>
<div class="container">
<label for="cliente">Arquivo</label>
<div class="progress">
<div id="pgrArquivos" class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width:40%">
40% Complete (success)
</div>
</div>
My Script
var inicializarCadastro = page.inicializa;
page.inicializa = function() {
$.getJSON(getHomeFolder() + "/jsondata/cadCliente.json", function(data) {
page.json = data;
inicializarCadastro();
});
}