I wish to change the text of the hyperlink dynamically, and trigger the change with Javascript.
I have html:
<a id="HyperlinkID" href="#" >Original text</a>
Javascript:
$("a#HyperlinkID").text() = "Text changed";
That does not seem to work.
What is the right way to change the text?
Try: