Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Searching for a text in the browser

0 views
Skip to first unread message

lily

unread,
Jun 2, 2005, 5:37:11 AM6/2/05
to
HI all,

i have a html datawindow through which i have retrieved some data from the
database in the browser. Suppose there are more than 100 lines in the data and i
want to find some text which is located somewhere in the middle .

pls guide me , or help me in findng that data with the helpof JSP. such that if
i type a no. in the text box and say search the search engine should search for
that text with the browser.

Regards
Lily
---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp

Adam Simmonds

unread,
Jun 2, 2005, 8:18:50 AM6/2/05
to
lily wrote:
> HI all,
>
> i have a html datawindow through which i have retrieved some data from the
> database in the browser. Suppose there are more than 100 lines in the data and i
> want to find some text which is located somewhere in the middle .
>
> pls guide me , or help me in findng that data with the helpof JSP. such that if
> i type a no. in the text box and say search the search engine should search for
> that text with the browser.

I would suggest you could do it via Javascript.

You could use the rowcount and getitem methods of the htmldw to loop
through and find a particular row and then focus to that row, problem
would be that I dont think the page will scroll if you set focus to a
row off the visible page so you may have to do some tricky javascript to
calculate the position of the row and then do a scroll.

I have never done this, just offering a possible solution.

a.

Jonathan Baker [Sybase]

unread,
Jun 2, 2005, 9:02:54 AM6/2/05
to
Use Firefox? The browser has a really great text search built in to the
browser.

(Of course, IE has the same thing, but it's not as easy to use...)


Jonathan

0 new messages