It’s probably something really simple, but I’m just learning.
There’s a page with 3 blockquote tags on it, and I’d need to get the innerHTML of the one containing a certain string. I don’t know how to search/match a string and get the innerHTML of the tag containing the matched result.
Any help would be appreciated!
🙂
Btw there would be a much nicer method if you’d be using Prorotype JS (which is much better than jQuery btw):
You could of course also use regular expressions to find the string, which might be more useful (use el.match() for that).