Questions tagged [selectable]

Selectable is a jQuery UI plugin that allows for elements to be selected by dragging a box (sometimes called a lasso) with the mouse or clicking.

131 questions
55
votes
4 answers

How to get the innerHTML of selectable jquery element?

I have a php generated list whose list items are selectable using jquery selectable widget. The list for all intents and purposes is:
  • Item 1
  • Item…
user2489311
24
votes
3 answers

TextView that is linkified and selectable?

I would like to have a TextView that is both selectable and linkified. When I do both I end up with selectable text but links can't be clicked. EDIT: I'll show the code to explain with what I struggle: TextView textView =…
pixel
  • 24,905
  • 36
  • 149
  • 251
15
votes
4 answers

jQuery UI Selectable - unselect selected item on click

Does anyone know if there's a way to configure a jquery ui selectable element to unselect the selected element when you click it? Sort of like a toggle. If it's already selected, unselect it, otherwise do the default behavior. Thanks.
fehays
  • 3,147
  • 1
  • 24
  • 43
14
votes
3 answers

Jquery UI SELECTABLE, how to select one item only?

is there any way to define that, only one item can be selected with jquery.selectable widget? Or i've to inmplement a workarround capturing events and manipulating by my self what happens?
Flavio CF Oliveira
  • 5,235
  • 13
  • 40
  • 63
12
votes
5 answers

jquery ui selectable and sortable combined

This is what I got: http://jsfiddle.net/hashie5/vk6rZ/ (don't mind the layout) The first table is a combination of the second and third table, and it's this one that needs to be finished. The seconds table has sortable (with the arrows). The third…
Ruben
  • 8,956
  • 14
  • 63
  • 102
9
votes
4 answers

Making things unselectable in IE

Here is my chart I've been writing in JS: http://jsfiddle.net/49FVb/ The css: -moz-user-select:none; -khtml-user-select: none; Works fine for Chrome/FF, but in IE all the elements are still selectable which looks weird when dragging the bars…
Tom Gullen
  • 61,249
  • 84
  • 283
  • 456
9
votes
1 answer

new Selectable TextView in android 3 (API <=11) component

After a long and time consuming search, I can't find a component that can select text in textview for android API level <=11. I have written this component that may be of help to you : public class SelectableTextView extends TextView { public…
ali shekari
  • 740
  • 1
  • 11
  • 26
8
votes
1 answer

Link doesn't work inside UI Selectable

these are the code from JQuery website and I rewrite the contents of one :