Reputation: 11855
I have a controlgroup
checkbox for jQueryMobile. I want to hide certain checkboxes depending on a previous selection of a <select></select>
. However if it happens to be the last or first element of the control group, the checkbox border then looks weird. How would I get around this, and after the hide, have it show the control group properly?
Upvotes: 1
Views: 1027
Reputation: 22162
Add this line in both functions:
$('#appointmentAddonServicesFieldset').controlgroup('refresh');
Upvotes: 3