JQuery sortable & click event are mutually exclusive
I am using JQuery's version 1.2.3 and JQuery UI version 1.5b. If i
make a list sortable then click event against that list or any of its
descendant elements don't fire. This problem is with news
ui.sortable.js. If i replace new sortable js file with the old one,
lets say from version 1.0 or something, then click event gets fired.
Given below is the sample code manifesting the problem.
<ul id="test">
<li>A</li>
<li>B</li>
<li>C</li>
</ul>
$("#test").sortable({});
$("#test > li").click(function() { console.log("An element inside UL
has been clicked"); });
Any idea why this problem occurs in the latest versions?