The error is a simple one that I make all the time.
The focus method needs the parentheses after it.
so your line:
document.getElementById("txtItemQty"+ itemCount).focus;
should read (see parentheses at the end of the line):
document.getElementById("txtItemQty"+ itemCount).focus();
But be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.