I want to allow viewers of my page to click any word in a paragraph to trigger a tooltip (like a word definition, or some other event) but I don't want to bloat my html with tags wrapped around each word.
The effect I'm going for is similar to what the New York Times does in their articles. Double-clicking any word in a NYT article makes a tooltip appear, which can be clicked for more info. Example. But you'll notice in the source there's no markup in the original page for those tooltips.
Can this be achieved with jQuery? something like, onclick any word?