Q:

delegated jQuery .on() not working for SharePoint Web Part

I have a SharePoint-Webpart with a table containing many elements.
If I click on an element I see a preview of the document behind it.
jQuery(document).ready(function () {
    jQuery("table.ms-listviewtable tr.ms-itmhover").on("click", showPreview);
});

the problem is, if I sort the table it reloads the elements an the click-event is removed.
So i tried a delegatet .on() function
jQuery("table.ms-listviewtable").on("click", "tr.ms-itmhover", showPreview);

but if I click nothing happens.. I also tried
jQuery(document.body).on("click", "table.ms-listviewtable tr.ms-itmhover", showPreview);

so that i have the same selector as in the not delegated (and working) function, but it is also not working.
Any suggestions?

A:

Okay, crazy SharePoint..
It works if i use "mouseup" instead of "click" as event.
jQuery("table.ms-listviewtable").on("mouseup", "tr.ms-itmhover", showPreview);

