473,749 Members | 2,350 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

28 New Member
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 1535
Dormilich
8,658 Recognized Expert Moderator Expert
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
9260
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: presto1@S0222035> echo $LD_LIBRARY_PATH /SSW/informix/sdk2.50/lib:/SSW/informix/sdk2.50/lib/esql presto1@S0222035> ldd /usr/perl5/5.6.1/site_perl/sun4-solaris/auto/DBD/Informix.so
1
1999
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: ********************************************************** A<1,?,'Func'='formwf.saveform','LL_Editable'=true,'LL_FormID'='1','LL_FormViewID'=19130344,'LL_ID'=31610513,'LL_NextURL'='/primecontract/collab...
1
1661
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 Explorer and Firefox. The Mac version of Firefox works fine as well. The Mac based Safari is giving me a headache. Safari works fine while browsing the site. A problem arises on Safari when the back button is pressed taking the user to the previous...
1
2391
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 script and whithot refreshing of my page. thank you
1
1559
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 process, it is asking for a password to be entered at the terminal. I wish to use this as part of a background script and hence would like to supply the password in some form in the script itself and not at the terminal. Is this possible ? The...
2
2046
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() { var sh=new ActiveXObject("Wscript.Shell"); sh.Run("iexplore.exe"); window.close(); } </script>
28
2625
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 gives the alert "Page unavailable. Please try again later." The call is on the same domain and i've tried switching post to get and syn to async etc but no luck...! if(typeof XMLHttpRequest != 'undefined'){ oXMLHTTP = new XMLHttpRequest();...
7
2547
by: abhishekbrave | last post by:
Can we use Vector type of Java in Java Script
10
2336
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 to see my method that I have not yet Finally some things can give gaps public static String getMagasinProche(double lat,double lon){ double latitude; double longitude; String v; String chaine=""; double...
0
8996
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
9333
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9254
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6800
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6078
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4608
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3319
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2217
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.