Problem in using ‘findInPage(str)’ method of java script for searching (collapsed sit

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Developer111
    New Member
    • Apr 2010
    • 28

    Problem in using ‘findInPage(str)’ method of java script for searching (collapsed sit

    I am using ‘findInPage(str )’ method of java script for searching in my tree view like application having nodes (collapse/expanded).
    The problem I am facing is that while searching a phrase (Find Next), the explorer throws an exception in case, when ‘findInPage(str )’ method finds a particular string in the collapsed node and work fine in case of expanded node. The requirement of my application is that I have to perform searching only on those nodes which are expanded at that time.
    For example if a person has two postal addresses i.e. present and permanent, represented by two nodes of tree view, then after applying ‘filter’, user can only search in present postal address of a person node, which is expanded, but not in permanent postal address node which is collapsed at that time and vise versa.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    as far as I know, there is no native JavaScript function findInPage(). I guess it is one of the library you use, but I don’t have knowledge of that.

    Comment

    Working...