3 Replies Latest reply on Aug 3, 2006 12:36 AM by Peter Grainge

    IE Script error while previewing topic


      I used the Search Highlighting feature by giving the Javascript provided in the Peter Grainge's website. But, after inserting the script if i preview the topic, it gives an IE script error pop up box. If i remove the script, the preview works fine. The Javascript is as follows:

      1. <script language=JavaScript

      2. <script type="text/javascript"><!--
      beginSearch ();

      I am using the 1st script immediately above closing head tag and the 2nd script comes immediately before closing body tag. I am using RH X5 with Windows XP.

      I would also like to add that i downloaded the sample project file provided in Peter Grainge's website and used the same scripts there, and it too produced the same error message. Moreover, the search results are not highlighted after generating the webhelp.

      Pls suggest a solution...