home / software / tips and tricks / How to change the hyperlink text using JavaScript?

How to change the hyperlink text using JavaScript?

Updated:  09/23/2012 11:09 AM
Author:  Shiju Mathews

Status:    Resolved.


Using the 'innerHTML' property of the link object we can change the link text on the fly.



After the event is fired the link text will change from 'www.courtesyindia.com' to 'courtesyindia.com'.

Tags: How to change the hyperlink text using JavaScript?
Updated on: April 2024