We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25321
    • 18 Posts
    Not found file js/ajaxSearch-jquery.js in version:1.8.1 for jQuery.
    Where to get this file?
      • 26931
      • 2,314 Posts
      Hi,

      ajaxSearch is based on mootools, so i think there won’t be any "ajaxSearch-jquery.js"...why are you looking for such a file? or is this part of an error report?

      cheers, j
        • 25321
        • 18 Posts
        In documentation http://wiki.modxcms.com/index.php/AjaxSearch
        has parameters &jScript and &jsJquery
        Where set parameter &jScript=`jquery` AjaxSearch used jQuery instead of mootools
        And include js/ajaxSearch-jquery.js instead of js/ajaxSearch.js in <head>...</head>

        <script type="text/javascript" src="assets/snippets/ajaxSearch/js/ajaxSearch-jquery.js"></script>
          • 5811
          • 1,717 Posts
          &jScript and &jsJquery parameters have been implemented in the version 1.8.1 for a future usage.

          AjaxSearch with JQuery is "ready-to-use" but need a js/ajaxSearch-jquery.js file which should be the port to JQuery of ajaxSearch.js file (based on Mootools).
          As I am busy in this moment I can’t deliver this file. So any help to port this file from mootools to JQuery is welcome
            • 25321
            • 18 Posts
            Make file js/ajaxSearch-jquery.js
            Test only liveSearch mode on.
              • 5811
              • 1,717 Posts
              Thanks a lot Robust.

              I will implement this file on the AjaxSearch demo web site, run the tests and I will give you a feedback
                • 25321
                • 18 Posts
                Ok, wait the report smiley