0

I have a Date Filter web part that is connected to a list. I can set the content of the filter with jQuery, but how can I get the filter to apply itself when I set the value this way?

Normally you just enter a date and it applies automatically.

1 Answer 1

0

When you change the value yourself (with a mouse click) you send a click event.

So you have to do that click event with code

<option> does not have a click event handler, you have to click on the <select>

$([filterelement]).click()
1
  • I don't that is for a Date Filter? Date filter has an input and a datepicker widget thing. Commented Dec 19, 2015 at 3:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.