Previous active control in javascript

Posted by zohair on Stack Overflow See other posts from Stack Overflow or by zohair
Published on 2010-05-19T21:20:41Z Indexed on 2010/05/19 21:30 UTC
Read the original article Hit count: 132

Filed under:
|
|
|

Hi,

I wanted to know how I could find the previous active control on a page. I have a couple of textboxes and a button, and when i am on a certain textbox and I click the button, I want to highlight that textbox. I have the highlight functionality covered, but I don't know how to find out which textbox to run the function on...

Please help,

Thanks!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about textbox