a simple question here
Is there a way to change the text "click here"
<a id="a_tbnotesverbergen" href="#nothing">click here</a>
in this link
Richard
a simple question here
Is there a way to change the text "click here"
<a id="a_tbnotesverbergen" href="#nothing">click here</a>
in this link
Richard
You need J-query library to do this simply:
First you need to put your element in div like this:
Then you should write this J-Query Code:
try this in javascript
From W3 Schools HTML DOM Changes: If you look at the 3rd example it shows how you can change the text in your link, "click here". Example:
JS:
You have to use the jquery's text() function. What it does is:
For example:
With your markup you have to do:
and it will result in
I found this to be the simplest piece of code for getting the job done. As you can see it is super simple.
for original link text
I use:
where
The method you are looking for is jQuery's .text() and you can used it in the following fashion: