I want to be able to change the parameters that are being passed into the selectable's start event, so I can basically allow my user to use the selectable jQuery UI effect without having to hold down the CTRL key.
JS
$(function() {
$( "#selectable" ).bind("mousedown", function(event, ui) {
var result = $( "#select-result" ).empty();
event.metaKey = event.ctrlKey = true;
});
$( "#selectable" ).selectable();
});
I have a fiddle with what I'm trying to accomplish here:
http://jsfiddle.net/josephbulger/ZfevM/
The problem I'm having, is that when i set the event's parameters in the start method, the stop method is not seeing the changes I'm making.
Is there a way to accomplish what I'm trying to do?