home / software / tips and tricks / How to change the hyperlink location(href) using JavaScript?

How to change the hyperlink location(href) using JavaScript?

Updated:  09/23/2012 12:09 PM
Author:  Shiju Mathews

Status:    Resolved.


Using the 'href' property of the link object we can change the 'url' associated with the link.



After the event is fired the href will change from 'www.courtesyindia.com' to 'http://www.australiaindian.com/'.

Tags: How to change the hyperlink location(href) using JavaScript?
Updated on: April 2024