Let’s say I have a grid and create it using it like so:
$( "#dragIt" ).draggable({ grid: [ 15, 15 ] });
Then, I have a checkbox below the div. Is there anyway when I toggle the checkbox, that the grid becomes on and off? I can’t find it official jquery ui website on how to turn it off/on. Thank you.
Try this one: http://jsbin.com/ewamuq/1/edit