How do I remove the variable conflict? I already tried to put in a variable the outside of it to not generate conflict with the aJAx THIS, even though it did not change anything!
Just an example, but I believe it makes interpretation easier.
var thisdobotao = this;
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
var thisdafuncao = this;
thisdobotao.html('Carregando...')
};