On Sun, Sep 14, 2008 at 5:36 PM, Chris Best <[EMAIL PROTECTED]> wrote:
> > In the example of selectable on the documentation page, you have to > drag a box around the items you want to select. > http://docs.jquery.com/UI/Selectables#demo > In the Demo it links to, you can select an item just by clicking on > it; you don't have to drag a box. > http://dev.jquery.com/view/tags/ui/1.5b2/demos/ui.selectable.html > What is the difference? Does the latter use a new version of the UI? Yes. This is the behavior since 1.5. The former uses the latest, 1.5.2. The latter is actually an older version - 1.5 beta 2. > > I want to be able to select without dragging a box. The current work-around is: $("#myEl").selectable().mousedown(function(ev) { $(ev.target).addClass('ui-selected'); }); - Richard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
