I'm pretty new to jQuery, so this is basically a syntactical question. I'm using jQuery UI selectable and I would like to know how to exclude elements based on part of the element's id. In the example I have linked to here, I have divs with the following ids: 'TextBox1_label', 'TextBox2_label', 'TextBox3_label', 'TextBox4_label', 'TextBox5', 'TextBox6'
In my sample I have excluded 'TextBox3_label' and 'TextBox4_label' from being selectable, but what I would like to do is to exclude all of the divs that have id's end with '_label' from being selectable.