DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Set Text And Navigate Url Property Of Hyperlink Field Using Jacascript

01.30.2012
| 6162 views |
  • submit to reddit
        // set text and navigate url property of hyperlink field using jacascript
var hyperlink = document.getElementById('<%= Hyperlink.ClientID %>');
hyp.innerHTML = 'My New Link';
hyp.href = 'http://snippets.dzone.com/'