javascript - document.activeElement

Posted by Fernando SBS on Stack Overflow See other posts from Stack Overflow or by Fernando SBS
Published on 2010-06-15T01:20:51Z Indexed on 2010/06/15 1:22 UTC
Read the original article Hit count: 498

Filed under:
|
|

Hello, I have a few inputTextBoxes and I'm using document.activeElement to handle value changes of those inputboxes called by "change()" function of inputBox element.

the problem is when I change the value of one of the inputboxes and then click in another inputbox... the function will get the document.activeElement of the new inputbox and will not work... how to make the function "know" that the one that changed was the previous one?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about dom