Reference the target element in UI event handlers

2 posts, 0 answers
  1. Stevo
    Stevo avatar
    25 posts
    Member since:
    Jun 2013

    Posted 03 Dec 2014 Link to this post

    Hi,

    is there any way to get hold of the target html element in a event handler?

    say e.g. in a ListView.dataBound event, how do I get hold of the ListView html element that is displaying the data?

    Thanks,
    Stevo
  2. Stevo
    Stevo avatar
    25 posts
    Member since:
    Jun 2013

    Posted 03 Dec 2014 in reply to Stevo Link to this post

    Never mind, I just discovered it

     e.sender.element

    would we worth adding this to the documentation next to each event

    Regards,
    Stevo
Back to Top