What's new

How to achieve this in javascript or jquery or somehow


New member

I have just 100 MB of data which can be categoried in to different HTML files - say 1,300 files. or text files..

I need to provide a type-ahead search to search any keyword in the 100 MB of the files and it should display beautifully with highlighted for easy navigation - previous, next. On navigating the HTML file from the search, it should highlight the same keyword in the entire HTML file...

Very simple use case...

This has to be hosted in the server as well....Offline and Server version as well..

What is the best way to do it?

JavaScript is achieved via the prototype chain This is defined as the chain of references starting with any given object. We have seen how early techniques for configuring the prototype chain had limitations surrounding coupling between child and parent constructor functions.