2 // customize JQueryMobile controlgroup
3 $.fn.oldControlgroup = $.fn.controlgroup;
4 $.fn.controlgroup = function (options) {
6 return this.oldControlgroup(options).each(function () {
7 this.deselectAll = function () {
8 return $('input', this).attr('checked', false).checkboxradio('refresh');
11 this.select = function (value) {
13 return $('input[value$="' + value + '"]', this).attr('checked', true).checkboxradio('refresh');