I have managed to use the Jquery selectable grid and store the selected
points into my database which allowed me to load the selected list items
when the page loaded, however i would like to know is is possible for me
to make items which have not been selected disabled so that the users
will not be able to select from the items which have not been selected
in a previous process?
I am currently using a jquery selectable which stores values to a
database i would like to create a view page where the users can view
which elements were selected.
I was given the following code
$(function() {
$("#selectable").selectable({
create: function( event, ui ) {
var list=JSON.parse(localStorage.selectableList)
$(this).children().filter(function(){
return $.inArray($(this).text(),list) !== -1
}).addClass("ui-selected")
},
stop: function(event, ui) {
var list = $(".ui-selected",
this).map(function() {
Problem is i am unable to get the values of that i am passing
to from the database to load so for e.g. if i have the values
1,2,3,4,5 saved in the database i have the values passed to an
array or a string value seperated by , how can i get these values
to be pre-selected?
Hi I have recently created an application that uses a jquery selectable
I have managed to store values that users have selected to a
database.The problem i am now facing is if the user would like to change
the values which they have selected they would open an edit page which
should load the selectable with the values stored in the database.I am
able to retrieve the values from the database i am not sure on how to
get the values to be selected though
I am currently busy on development of a mobile web application and would
like to use Jquery Selectable in my application. I have tested the code
on a mobile device the problem i am having is the drag and multiple
select does not seem to work on mobile device please could you assist me
in how i could get this to work on the mobile version or if there is a
Jquery Mobile version of this Selectable feature http://jqueryui.com/selectable/#display-grid