Questions tagged [jquery-ui-selectable]

The jQuery UI Selectable plugin: Enable a DOM element (or group of elements) to be selectable. Draw a box with your cursor to select items. Hold down the Ctrl key to make multiple non-adjacent selections.

The jQuery-ui Selectable plugin allows for elements to be selected by dragging a box (sometimes called a lasso) with the mouse over the elements. Also, elements can be selected by click or drag while holding the Ctrl/Meta key, allowing for multiple (non-contiguous) selections.

API Documentation

239 questions
0
votes
1 answer

Keep jQuery ui selectable value stored

I'm looking to select an item and I want to use this throughout a process, so the selected item needs to be stored somehow. My Next button should make it so I still have the selected item id in step2.php. I was thinking of using a POST or GET, but I…
Christophe
  • 79
  • 7
0
votes
1 answer

Make text image-like(not selectable AND unrecognized by mouse text cursor) with jquery/javascript

I am using JQuery Selectable items to emulate buttons, I want to make the text in the selectable both unselectable(so it can't be highlighted) but I would also like to make the text cursor from appearing when moused over as well. Basically I would…
Matt Foxx Duncan
  • 2,074
  • 3
  • 23
  • 38
0
votes
1 answer

Finding the last value of .length in a selectable()

I'm running a selector in a table I have. And I have conditionals that hide/show buttons depending on how much is selected. But I ran into a problem. selected: function (event, ui) { var slctd = $(this).find(".ui-selected >…
0
votes
1 answer

jQuery selectable with another event

I am using the jQuery selectable on a table like this... var body=$("") body.selectable({ filter: 'td:not(:first-child)' }); // this is the first column which is filteres out of the selectable …
sferret
  • 361
  • 2
  • 14
0
votes
1 answer

jQuery selectable with handle and sortable

I have a selectable list within an accordion, and when you select an item from the list, the item appears in your selected columns list. My issue is that I want to use a handle to select an item (the handle is a plus sign) and have the text appear…
KMBonin
  • 111
  • 4
  • 12
0
votes
1 answer

Jquery ui selectable causing problems with hyper links

I have a small problem with the Jquery ui selectable function. $("#test").selectable({ filter:'label', stop: function() { $(".ui-selected input", this).each(function() { this.checked= !this.checked }); …
Konrad
  • 158
  • 2
  • 10
0
votes
1 answer

PHP string with commas empty?

I try to read a string from REQUEST_PHP, which is a string containing commas, separating the values of an array. I save the index value of selected elements of a list to an array. I join them and then use console.log and an alert box to confirm…
0
votes
1 answer

Jquery selectable: Find selected elements length

$( ".mylist" ).selectable({ cancel: 'a', selected:function(event, ui) { console.log($(ui)); } }) I would like to print the number of selected elements in the selected function. How do i do that?
0
votes
1 answer

jQuery ui selectable: function does not react to deselection when there is only one element selected

The following is a code for jQuery ui´s selectable plugin. The code allows me to select more than one selectable object with the mouse without the lasso and without the keyboard. The console.log message does come up in firebug when I select. It also…
Haley
  • 53
  • 1
  • 8
0
votes
1 answer

jQuery UI resizable/selectable not working in Backbone View

I have a view for my model, and in the initialization I use the following code initialize: function (){ _.bindAll(this, 'render'); this.listenTo(this.model, "change", this.render); this.$el.draggable({ opacity:…
0
votes
1 answer

How do i get multiple jquery selectables in tabs working

I have two tabs made with jquery which contains seperate selectables. The tab that opens by default, the selectable works fine. When going to the other tab, selecting using the lasso won't work. Problems started when added the stop event to the…
SDuijf
  • 3
  • 1
0
votes
1 answer

Adding jQueryUI selectable items using AJAX

I'm using some AJAX (ASP.NET Web Forms) to add new selectable elements on my site but the newly created ones aren't selectable. I guess this has to do with some events. Maybe it can be solved by using .on on those functions but I don't know how to…
Wittek
  • 45
  • 4
0
votes
0 answers

Odd behavior when selecting elements of a Selectable

Fiddle In this Selectable each
  • has a nested
    .
    1. i love foo
    2. bar is awesome
    Now, if I click or…
    theblang
    • 10,215
    • 9
    • 69
    • 120
  • 0
    votes
    3 answers

    Disable a selectable child after initialisation

    I cannot see how this can not be working but here's my problem... I have a series of selectable groups on a page - each one is a row in a table and the div's within the td's are the selectables. Not all td's contain a selectable - this is indicated…
    Helen Danger Burns
    • 421
    • 2
    • 9
    • 28
    0
    votes
    3 answers

    Add hover to JQuery UI selectable

    I am using http://jqueryui.com/selectable/#default exmaple Is it possible to add hover event once i hover a selectable item?
    user829174
    • 6,132
    • 24
    • 75
    • 125
    1 2 3
    15
    16