Cambio para limpiar variables en javascript
This commit is contained in:
@@ -174,7 +174,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
</asp:UpdatePanel>
|
||||
<asp:UpdatePanel ID="UpComisiones" runat="server" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
<div class="row rowcheck truncate" id="DivComisioncheck" >
|
||||
@@ -623,8 +623,28 @@
|
||||
debugger;
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
function Depositar() {
|
||||
LimppiarVariables();
|
||||
|
||||
}
|
||||
function Consultar() {
|
||||
LimppiarVariables();
|
||||
|
||||
}
|
||||
|
||||
function LimppiarVariables() {
|
||||
|
||||
ValorTotalSeleccionado = 0;
|
||||
comision = 0;
|
||||
descuento = 0;
|
||||
saldo = 0;
|
||||
IVA = 0;
|
||||
ComisionIntermediario = 0;
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
</asp:Content>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user