For example, you have the following html line:
<p><span class="hideAllButFirstWord">Aqui dolorit latia corum</span></p>
I only want to display the first word on the page. So instead of:
Aqui dolorit latia corum
you'll only see the following word on the page:
Anyone know how to do this?
Looks like an assignment to me. Does the hidden text have to be re-displayable?
No, it can also be removed.
Works perfectly, thank you SgtLegend