View Single Post
 
Old February 22nd, 2008, 09:36 AM
sudhir164 sudhir164 is offline
Registered User
 
Join Date: Nov 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Getting id of a control in javascript

Hi,

How to get the id of a control which has focus on it in javascript. the Id's are created dynamically so i will not be knowing the id at the start. On focus of a control i want to get the id of that control.