<li style="display: block;" class="selectlist-item">fsdafkds</li>
how can i disable a controller by class by jquery
<li style="display: block;" class="selectlist-item">fsdafkds</li>
how can i disable a controller by class by jquery
Your question isn't clear; you can't disable non-form field elements.
But if you want to select an element based on its class, here is how you can do that:
$('.selectlist-item')
Notice the dot before class name. This is similar to CSS actually.
More Info:
If you want to hide it using jQuery:
$('.classname').hide();
The . is the class-selector. Same as in CSS.