We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31290
    • 37 Posts
    So I found a MooTools 1.2 script to add AutoComplete functionality. It seems this would be fairly easy to incorporate into the AjaxSearch snippet.

    My question is...would it be possible to have the database pull the AutoComplete suggestions from the Meta Keywords tied to each page? And maybe even popular words used in the [*Content*] TV, or other TemplateVariables?

    Maybe someone is already working on this? rolleyes
      • 31290
      • 37 Posts
      Oh yeah! Here is the link to the MooTools AutoCompleter: http://digitarald.de/project/autocompleter/
        • 39115
        • 15 Posts
        Still you can use only AjaxSearch snippet with a little modyfication ;-) Just run on document ready that code:

        jQuery("#ajaxSearch_input").keyup(function(event) {
            var stt=$(this).val();
            if (stt.length>3) {
            	jQuery('#ajaxSearch_submit').click();
            } else {
            	jQuery('#ajaxSearch_output').hide();
            }
        });