javascript - JS: How to find all matches of words in iframe? -


i have array of words:

['apple', 'mango', 'orange'] 

and have iframe on page (in same domain) , need highlight matches of these words in it. need change style of these words (change text styles , handle click event on them)

is solutions this? search in pdf js working perfect https://mozilla.github.io/pdf.js/web/viewer.html

how can implement same ?


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -