Results 1 to 3 of 3

Thread: Seraching

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Apr 2001
    Posts
    843

    Seraching

    hello everybody...

    I was wondering... Is there a way to open the little search window from the IE with JavaScript? Or is there any way to look for text with JavaScript? Something like a little searching thing in the same page?

    Thanks
    "The difference between mad and genius is the success"

  2. #2
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    Theres not really any good way to do this in javascript.

    First, you'd have to find out the type of element on the page (eg table). Then you'd have get the innerText of the element to find out what the text contained is... something like this

    tableitem = document.table.rows[0].cells[0].innerText;

    The best way to do a search is to use a server side script. Do a search for a Perl/CGI search in a search engine
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Apr 2001
    Posts
    843
    Thank you for the reply. I think I will be able to do something with the InnerText property.

    Thanks
    "The difference between mad and genius is the success"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width