helloTest();

function helloTest() {
	var elems = document.getElementsByTagName('input');
	for(var i=0; i< elems.length; i++) {
	 console.log(elems[i].id);
	}
	
	var amazonBox = document.getElementById("twotabsearchtextbox");
	amazonBox.value="Hello";
}
helloTest();

function helloTest() {
	var elems = document.getElementsByTagName('input');
	for(var i=0; i< elems.length; i++) {
	 console.log(elems[i].id);
	}
	
	var amazonBox = document.getElementById("gcpromoinput");
	amazonBox.value="Hello";
}
Insert 'hello' into the amazon voucher code box.
Insert 'hello' into the amazon voucher code box.
