So i created a function to calculate something when the text box looses its focus, but, for some reason, it doesn't execute. What did i do wrong? When the page loads and document.ready executes, the breakpoint i added gets triggered, so its at least loading, but never executes again when i change the text box value
$(document).ready(function () {
$('#txtVlrServicoLiberado').on('blur', function (e) {
$('#txtVlrServicoGlosado').val() = $('#txtVlrServicoCobrado').val() - $('#txtVlrServicoLiberado').val();
});
});
Im working with vb.net, this is the text box (Its inside a pop-up).
<asp:TextBox ID="txtVlrServicoLiberado" MaxLength="16" runat="server" alt="mascaraVlrServicoLiberado" ></asp:TextBox>