JavaScript and Items value setup
Hello there,
I have a value from 1 to 10 that i receive and then I have 10 item boxes that need to be populated lets say with the values 1 to 10 depending on which value was sent
Im trying to do something like this but it doesnt work with javascript. Is there a way to do it with jquery?
document.getElementById("item"+v) = "12345";
document.getElementById("item"+v).value = "12345";
//item1.value = 123554; this work but I want to do it by getting the number from the one clicked