473,394 Members | 2,031 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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.
Aug 23 '10 #1
1 1527
Dormilich
8,658 Expert Mod 8TB
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.
Aug 23 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Christian Eriksson | last post by:
Hi! I have a problem using the environment variable LD_LIBRARY_PATH in my perl script. Everything works fine when I set it at the command prompt and then runs my perl script like this: ...
1
by: russr | last post by:
Hi all, I'm in need of help again :confused: I have a reference to a url stored within a text field on a form on a webpage. Pls see url below: ...
1
by: Bigpond News Server | last post by:
I have built a website that uses frames and a heavy reliance on Java Script to modify framesets, frames and load pages on the fly. The site works fine when using the PC version of Internet...
1
by: pdesai007 | last post by:
hello, i tried to upload an image in to server with asp and java script ( using AJAX) but it gave an error. so please give me any solution that help me to upload an image to server with java...
1
by: KV1 | last post by:
Hi, I am new to SSH. I tried to connect to a server and run a command on it using SSH from a script. It asked for a password and then, it succesfully connected to the intended server. But in this...
2
by: yasothap | last post by:
am developing a project in vb.net. In that am using a following java script function to run an exe. <script language="javascript" type="text/javascript"> function opennotepad() { ...
28
by: TimSki | last post by:
Hi, I'm new on this forum so any help would be much appreciated. Have just spent 3 hours searching various forums but to no avail. Basically this works fine in IE but in Firefox (v2) it always...
7
by: abhishekbrave | last post by:
Can we use Vector type of Java in Java Script
10
by: manjava | last post by:
I have a problem in my method I know how to continue to find the shortest distance and then extract cinques the nearest distance method must return cinques longitudes and latitudes with their cities...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.