This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
What it does is: when page loaded, only the first input text box is editable, after input something, the second input text box is editable, then the third, and so on...
It works fine in firefox but not in IE8. However in IE8, only the first is editable... So means in IE8, set readonly and remove readonly should work. Seems to me this condition (event.data.element.get(current).textLength > 0) never get true. Any idea?
Jacky S Zhang
Joined: Jul 21, 2010
Resolved.. textLength property doesn't got supported in IE8, changed to following code works in both IE8 and fireFox...