| simonleung on Jun 21, 2007 at 6:41:12 AM (# 3) document.getElementById(nm) should not return what you want Techmaniac on Jun 21, 2007 at 11:38:27 AM (# 4)It does return the proper name to the alert box, and colors the proper element. It just focuses on the element (textfield) after the appropriate element.
That's what makes this so frustrating, it works for two of the three methods, but doesn't complete the function as written. sophia_star on Jul 2, 2007 at 6:56:59 AM (# 5) This message has been edited.Even i am facing this error , whats the solution ???
http://thepinholeglasses.eslblogs.org/ Badotz on Jul 10, 2007 at 4:33:39 PM (# 6)If you want to do this:
document.getElementById(nm).focus();
you will have to change this:
var nm = elem.name;
to this:
var nm = elem.id; Badotz on Jul 10, 2007 at 4:34:09 PM (# 7)oh, and the element will need an value in the ID attribute, as well... Jaky123 on Sep 26, 2007 at 4:10:17 PM (# 8)Yeah,i agree that the element will need an value in the ID attribute.I think this is the problem.
iphone accessories
ipod video converter
|