Código HTML:
<script type="text/javascript">
function Sumar(){
interval = setInterval("calcular()",1);
}
function calcular(){
sobre = document.autoSumForm.sobre_repo1.value;
mts = document.autoSumForm.mts_repo1.value;
document.autoSumForm.calculo_repo1.value = (sobre * 1) / (mts * 1);
}
function NoSumar(){
clearInterval(interval);
}
</script>
tengo el siguiente code para sumar campos de texto, el cual funciona sin problemas... el tema es que cuando suma campos de texto el resultado sale con el formato 123456.123456 y me gustaria que fuera 123.456,123456 ...
saludos!!