I have tried to update the input value of an exposed filter field before submit of the exposed filter through Js.
What I have tried
$('#edit-submit-phrases').on('click', function() {
alert('check');
});
No alert message.
I also tried:
jQuery('#edit-submit-phrases').mousedown()