Forums Forums Search & Filter Pro Disable textbox ajax only

Viewing 5 posts - 1 through 5 (of 5 total)
  • Anonymous
    #12872

    How Ican disable search ajax (only on textbox)

    Ross Moderator
    #12899

    Hey Rudi

    There is no official option.. but you could try removing all event handlers

    $('.searchandfilter .sf-field-search input').off();

    You would need to understand jQuery to implement this – and also it must be called after Search & Filter has loaded

    Thanks

    Anonymous
    #12917

    I’m developer actually. This will not affect also checkboxes? I need to disable only text input. Will this work?
    $('.searchandfilter .sf-field-search input[type="text"]').off();

    Anonymous
    #12918

    I mean disable ajax of it, not disable text input

    Ross Moderator
    #12927

    As I said, what you want is not officially supported – but the above does not remove disable, it remove all events attached to the search box.

    This part – .sf-field-search means that it will target the search box only.

    Thanks

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