We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21419
    • 84 Posts
    This is the other problem I’m having with AjaxSearch.

    When I use the Ajax method and Live Search, I get output that looks like the image I’ve attached linked to http://dev.hhiconcours.com/ajaxsearch.jpg. The missing characters above each search result appear to be incorrectly formatted breadcrumbs. There is no markup surrounding them (eg. <p> or <span>), they just appear.

    The output looks like this:

    <div id="current-search-results" style="display: block;">
    
    <div class="AS_ajax_result">
    
    <a title="Car Club Jamboree" href="/events/car-club-jamboree.php?searched=car+club+jambo&advsearch=oneword&highlight=ajaxSearch_highlight+ajaxSearch_highlight1+ajaxSearch_highlight2+ajaxSearch_highlight3" class="AS_ajax_resultLink">Car Club Jamboree</a>
    


    I’ve gone through all of the AS templates trying to change the output, but nothing has any effect. Any ideas?

    Sorry if this is double-posted. I tried to attach a file and got an error.
      • 5811
      • 1,717 Posts
      Which charset do you use ? UTF-8, iso-8859-1 ? any other ?
        • 21419
        • 84 Posts
        utf-8
          • 5811
          • 1,717 Posts
          Could you check the ajaxResults template. With your editor try to find any weird character and then save the template as UTF-8.
            • 21419
            • 84 Posts
            ajaxResult.tpl.html
            ajaxResults.tpl.html

            I zapped both. Same result. It’s bizarre, isn’t it?
              • 21419
              • 84 Posts
              Got it!! Converted them both to non-lossy ASCII and it’s clean now. Thanks again!