Forums Forums Search & Filter Pro Auto submit for custom SELECT styling

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #258334

    It seems to be working with jQuery’s .change(), like:
    jQuery('.sf-input-select').change();

    Trevor
    #258404

    I would normally recommend using Select2 to do that sort of thing (as it is the most commonly used script for WordPress). I can refer you to a post on how to do that. Our form supports Select2 natively (the easiest way is to make a dropdown box a combobox, but there is an alternate method to do it without setting them as comboboxes).

    To submit the form you would use:

    $('.searchandfilter').submit()

Viewing 2 posts - 1 through 2 (of 2 total)