0
function escolheControle(c) {
controle = c;
marca =todasAsmarcas[controle];
window.location="marcaWebkit.htm";
console.log(controle+' controle-----');
console.log(todasAsmarcas+' todasAsmarcas-----');
}
var marca;
var todasAsmarcas = new Array(4);
todasAsmarcas[0] = new Array("Samsung", "LG", "Sony", "SempToshiba", "Panasonic", "AOC", "CCE", "Philips", "Sharp", "Toshiba", "Gradiente", "Philco", "Buster", "Semp", "Hitachi", "Sanyo", "Blue Sky", "Mitsubishi", "Aiko", "Cineral", "JVC", "Zenith");
todasAsmarcas[1] = new Array("Samsung", "LG", "Sony", "SempToshiba", "Panasonic", "AOC", "CCE", "Philips", "Sharp", "Toshiba", "Gradiente", "Philco", "Buster", "Hitachi", "Sanyo", "Blue Sky", "Mitsubishi", "Aiko", "Cineral", "JVC", "Zenith");
todasAsmarcas[2] = new Array("Samsung", "LG", "Sony", "SempToshiba", "Panasonic", "AOC", "CCE", "Philips", "Sharp", "Toshiba", "Gradiente", "Philco", "Buster", "Hitachi", "Sanyo", "Blue Sky", "Mitsubishi", "Aiko", "Cineral", "JVC", "Zenith");
todasAsmarcas[3] = new Array("Samsung", "LG", "Sony", "SempToshiba", "Panasonic", "AOC", "CCE", "Philips", "Sharp", "Toshiba", "Gradiente", "Philco", "Buster", "Semp", "Hitachi", "Sanyo", "Blue Sky", "Mitsubishi", "Aiko", "Cineral", "JVC", "Zenith");
function onRcu(e) {
switch (e.keyName) {
case iAppLib.keys.OK:
switch(pagina){
case "menuWebkit":
escolheControle(contMenu);
window.location="marcaWebkit.htm?contMenu=0 marca=todasAsmarcas[controle] controle=c index=0";
console.log("OKAY");
//top.main.escolheControle(contMenu);
break;
}
break;
}
Thank you so much for teaching me Marcelo, now he this printandoo brand name correctly, however he is printing letter by letter, I want to print the entire Samsung for example and when press right go to LG, but it is printing letter by letter of Samsung and then goes to Lge so successively.....
– Paladin
I added the function that is printing this array Is it due to Document.querySelector ? it picks one by one? I will search!
– Paladin
Function initial(x) ' //Document.getElementById("styleId1")+all Smarcas[index]; //var num = index + 1; Document.querySelector("[name='tag']"). value = tag[index]; console.log(tag[index]+"tag that should be printed inside input---------"); //console.log(num+" number of my index I’m calling from another page-------"); }
– Paladin