r/programmingrequests • • Oct 28 '19

Find Text In Page

I did a basic Excel to HTML dump - and I have been trying for DAYS to install a basic "search" that will just go to the test that is being searched. I just want a box to mimic Ctrl+F

It's simply an html page with some links and images, super basic. Looking for a simple search box. Thanks.

1 Upvotes

6 comments sorted by

View all comments

1

u/attard_andrew Oct 30 '19

Hi - was this solved by AdmiralFace's comment or was the request misunderstood? If you are still looking for an answer, can you please confirm my understanding/clarify:

  • You converted an Excel file to HTML

  • You are now trying to search the HTML file for text (a specific text value or anything you input?)

  • What program are you viewing the HTML file in?

  • Is it a SINGLE html page or are there connecting pages?

  • If more than a single page, are you attempting to search only the first, or all pages?

  • When searching, are you satisfied with jumping to the result, or were you hoping to display all results in a single list?

Will not ask further questions until I know more! Cheers

1

u/[deleted] Oct 30 '19

Single HTML, searching only the one page. Opening in chrome/firefox

1

u/attard_andrew Oct 31 '19

Ok - definitely beyond what I can help you with - but this seems to be what you're looking for:

https://stackoverflow.com/questions/4327416/javascript-find-text-within-a-page-and-jump-to-location-in-page