jQuery UI selectable won't work with anything besides '#selectable'
- by Ross Murphy
I am trying to use 2 instances of the jquery selector UI on my site and it won't seem to work with anything besides '#selectable' as the ordered list id.
Here is my code..
<script type="text/javascript">
$(document).ready(function() {
$("#selectable").selectable();
});
</script>
<ol id="selectable">
<li class="ui-widget-content">Item 1</li>
<li class="ui-widget-content">Item 2</li>
<li class="ui-widget-content">Item 3</li>
<li class="ui-widget-content">Item 4</li>
<li class="ui-widget-content">Item 5</li>
<li class="ui-widget-content">Item 6</li>
<li class="ui-widget-content">Item 7</li>
</ol>
But if i try to use something other than selectable, it doesn't work.. anyone have similar issues?