variables con nombre dinamico javascript
//imaginemos
var a01=24;
var a02=34;
var a03=78;
var a04=98;
//ahora vamos a acceder a los nombres desde for
for(var i=1;i<5;i++){
document.getElementById("apDiv26").innerHTML =this['a0'+i];
}
variables con nombre dinamico javascript
//imaginemos
var a01=24;
var a02=34;
var a03=78;
var a04=98;
//ahora vamos a acceder a los nombres desde for
for(var i=1;i<5;i++){
document.getElementById("apDiv26").innerHTML =this['a0'+i];
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us