How do I edit a certain element DOM in javascript?
I am new to javascript and interacting with webpages(DOM). I know you can
use extensions like firebug on firefox or the developer console on chrome
to edit and look at certain elements on a webpage.
What I want to do is grab the article body from the webpage and extract
the contents of the string. Then I want to modify it so I can apply a
highlighting to certain parts of the string.
How do I access that particular element and make changes to it?
No comments:
Post a Comment