1
Help for ParamQuery Select / Re: Resetting pqSelects programmatically
« on: May 08, 2015, 08:00:34 pm »
Thanks, that helped. I added it as a new method for the pqselect:
fn.reset = function () {
if (this.multiple) {
this.element.val([]);
} else {
this.element.prop('selectedIndex', 0);
}
this.refreshData();
};
fn.reset = function () {
if (this.multiple) {
this.element.val([]);
} else {
this.element.prop('selectedIndex', 0);
}
this.refreshData();
};