Forums Forums Search & Filter Pro Accessing returned data

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Trevor
    #200126

    You can use a JavaScript like this:

    <script>(function ( $ ) {
      "use strict";
      $(document).on("sf:ajaxfinish", ".searchandfilter", function(){
        // load any js you need to run here
      });
    }(jQuery));</script>

    In the current version, editing, or adding to, the HTML markup of the form is not possible other than by using custom JavaScript. In V3 this will become possible.

    Anonymous
    #200136

    Sorry, what I mean is that I need to access the chunk of data or the jquery object that gets inserted into the ajax loading area.

    Basically are there any extra parameters that I can add to the sf:ajaxfinish event that will let me access the returned chunk of markup?

    Trevor
    #200204

    I am sorry, but there is not. At this time you can only access the labels and values/options of the form fields, but not the HTML containers.

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