ParamQuery grid support forum

General Category => Help for ParamQuery Select => Topic started by: fred on December 22, 2016, 09:21:24 pm

Title: How can simulate a click on one of the options within the select?
Post by: fred on December 22, 2016, 09:21:24 pm
Hi,

I am after some jquery that will trigger programmatically the `onchange`clause of the pqselect

I am loading some Ajax that fill in the select. Based on what is ticked, I need to run further Ajax that select more pqselect selectors. At the moment, I can tick all the options I need but I can not trigger the `onchange` clause .

Any ideas?
Title: Re: How can simulate a click on one of the options within the select?
Post by: fred on December 22, 2016, 09:44:35 pm
This seems to do the trick.

Quote
$("#selector_id").change();