I'm building my first JQuery plugin and learning the standards for the plugins. I'm creating dynamic elements in my plugin like this -
var control = $("<table><tr><td><div>Test Control</div></td><td><img src='' /></td></tr></table>")
//Add the control to the document
Now how can I register the click event of the div inside the table?