Reputation: 9
I have a list of JQuery ui selectable elements called "#selectable" and there are some elements inside the selectable that I no not want to be selectable, I want them there as list dividers.
Here is an example of what the list looks like:
<ol>
<li class='custType'>This is a divider</li>
<li class='ui-widget-content'>This is selectable</li>
<li class='ui-widget-content'>This is selectable</li>
<li class='ui-widget-content'>This is selectable</li>
<li class='custType'>This is a divider</li>
<li class='ui-widget-content'>This is selectable</li>
<li class='ui-widget-content'>This is selectable</li>
</ol>
The ones that have the class "custType" are dividers and I no not want them to be selectable, it just divides the list up into categories.
Upvotes: 0
Views: 340