Hi guys, my first time to start a new discussion here. I need some help in writing a jQuery code that will style the first word of each and every element that I declare.
For example, I would like to style the first word of an H3 tag. What I have in mind is something that would do something like below: Replace <h3>First Word</h3> with <h3><span class="firstword">First</ span> Word</h3> Oh and by the way, I saw a javascript version of this already and the link is: http://www.dynamicsitesolutions.com/javascript/first-word-selector/ I would just a jQuery port of this for the sake of simplicity. Thank you guys.