Forums Forums Search & Filter Pro Event bind to trigger search

Viewing 9 posts - 1 through 9 (of 9 total)
  • Anonymous
    #48128

    Hi.
    We have this plug-in implemented on a site already.
    Does the plugin have any kind of Hook or API where you could bind it/trigger the results refresh by clicking on another element?

    For example, selecting a tag adds it to the DOM in a list, then each tag when removed, triggers a reload of the search again? The event would need to be bound to a new DOM element…

    Something that could be done?

    Thanks. Martin

    Trevor
    #48129
    Anonymous
    #48130

    Thanks Trevor. Yes, I did. However I was just hoping for some pointers as to which feature is the one to use, and how that could be called with JS. I’m not seeing the thing I’m describing in the Actions and Filters list unless it’s being described perhaps in a different way…

    Thanks again. Martin

    Trevor
    #48140

    I think Ross may need to answer this, so I will ping him.

    Anonymous
    #48142

    Thanks Trevor

    It’s basically being able to bind an ‘update results’ event to some kind of trigger; probably using JS 🙂

    Thanks. Martin

    Trevor
    #48150

    Is this what you want:

    jQuery("#search-filter-form-339").submit();

    where the form number is changed to your needs?

    Anonymous
    #48152

    Thanks – yes I think that’s all I needed. I can use that to submit the form each time a tag is removed from a list.

    Thanks. Martin

    Trevor
    #48153

    OK, is this thread ready to be closed and marked resolved?

    Anonymous
    #48156

    Yes mate; that’s fine for now.
    Thanks.

    Martin

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