Hi folks,
I've got the need to bind a function to the keyDown for some specific elements. The problem I think I have is that those elements don't start off on the page. The elements get added as the user types, so I need to bind the event to the element when it's put on screen. What I *thought* I'd do was write a function that searched for all the elements of the type that I want to bind (text boxes in this case), and further retrieve only those elements which haven't already been bound.
Firstly, does this seem like the right approach, and secondly is there a way to determine what is currently bound to an element or somehow include in my selector that I don't want element that already have x bound to them?
I appreciate any help I can get. Cheers! Chris -- http://www.cjordan.us