Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - vikerii

Pages: [1]
1
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();
    };

2
Help for ParamQuery Select / Resetting pqSelects programmatically
« on: May 06, 2015, 01:38:32 am »
Hi,

I have a series of pqSelects in a div.  When a user clicks a 'Reset' button, I'd like to reset all the pqSelects to their first option (aka selectedIndex==0).  I don't see any pqSelect method for doing this. Is it even possible? 

For example:
$(divID).find('.pq-select').pqSelect("select", 0);

Thanks,
Mike

Pages: [1]