12
shouts

jQuery Sortable Plug-in and unwanted Clicks - Rick Strahl

published 308 days, 11 hours, 24 minutes ago posted by beebee 309 days, 3 hours, 49 minutes ago
Thursday, May 14, 2009 2:23:30 PM GMT Wednesday, May 13, 2009 9:58:32 PM GMT

Here’s a problem I’ve hit on a few occasions with the very cool jQuery.ui.sortable plug-in. When you’re sorting elements that are clickable it often happens that when you drop your sortable item in a new sort location that the click event of the item fires.

For example check out this page: http://www.west-wind.com/WestwindWebToolkit/samples/Ajax/AmazonBooks/BooksAdmin.aspx

Notice that each of the items are clickable to bring up in-place editing for each item via a popup window. Now click on the Sort ...

category: Ajax | clicked: 9 | | source: west-wind.com | show counter code
tags: jQuery