Here is the code:
<h2>Change Link's Text</h2>
<div onMouseOver="this.innerHTML = 'RoseIndia'"
onMouseOut="this.innerHTML = 'Java Tutorials'">Java Tutorials</div></a>
Output will be displayed as:
On passing the mouse pointer over the link, it will change the text:
Posted on: April 18, 2011 If you enjoyed this post then why not add us on Google+? Add us to your Circles