I need to execute this function after a button gives an update="@ form" on the page
<script type="text/javascript">
function carregaCss(){
$(".ui-icon-calendar").addClass("glyphicon glyphicon-calendar corPadrao");
$(".ui-icon-seek-first").addClass("glyphicon glyphicon-backward corPadrao");
$(".ui-datepicker-next span").addClass("glyphicon glyphicon-circle-arrow-right");
}
</script>
It works in the header of the page, but when the ajax update is executed it does not work and the icons do not receive the classes they should receive.