All you need to do is add the following in the XSLTsearch.xslt file to update your javascript variable properties. Just insert this after XSLTsearch has calculated the results. I'd probably do it around line 218, just before the <div id="xsltsearch"> line.
Display search term and number of results
I have some tracking code that needs the search term and number of results added to it. The values are set in javascript like
But I am unsure how to get them from XSLTSearch to add them in my javascript at the bottom of my page body.
Cany anyone help?
All you need to do is add the following in the XSLTsearch.xslt file to update your javascript variable properties. Just insert this after XSLTsearch has calculated the results. I'd probably do it around line 218, just before the <div id="xsltsearch"> line.
I'm assuming the variables already exist but you can modify the above as needed now that you know how to do it.
cheers,
doug.
Thanks Doug.
is working on a reply...