Switching link text and href without page refresh..
I have a "pause" link that I want to read "play" after the javascript behavior has been paused. However, I want to do so without a page refresh. Restated, I want a play/pause toggle. Here is a example slideshow page of where I would like to use that type of functionality.
What's between <a> and </a> is your text of the link which is also child to the <a> element. So .firstChild specifies you need to look for the first node right after <a> which is the text node with the text of the link and .nodeValue should get you the value. Well something like that.
Bookmarks