Commit eb9ed4e7 by Tu Nombre

Cambio obtencion de datos ejes

1 parent 425dbe82
...@@ -38,7 +38,8 @@ function Reportar (){ ...@@ -38,7 +38,8 @@ function Reportar (){
function buscarEje() { function buscarEje() {
let nombreCampo = "eje_freno_est"; let nombreCampo = "eje_freno_est";
try { try {
var valor = document.getElementsByName(nombreCampo)[0].value; //var valor = document.getElementsById(nombreCampo)[0].value;
var valor = document.getElementById(nombreCampo).value;
if (valor !== '') { if (valor !== '') {
}else { }else {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!