Menu
Hi
In my webpage there 3 text boxes (txt1, txt2, txt3) & a button. My Javascript has 2 arrays:
var s = new Array(1, 2);
var m = new Array(3, 4);
How do I do the Javascript & HTML so that if I enter ‘s’ into txt1 & click the button the values ‘1’ & ‘2’ in the array shows in txt2 & txt3? Same with ‘m’ array