I have an html page which has a link called "open". Once the link is clicked the text "open" should change to "close". How do I do this?
What I want to do is insert a link and img for every thread of this forum I use. The href of the link should be based on the href of ...
I have a nested for loop inside a for loop that is supposed to change the link text to a random number between 1 and 5. The ID of the links ...
document.getElementById('phrase').innerHTML = phrase;
Basically I'm trying to set up a link that will ...
var userInput = document.getElementById('userInput').value;
document.getElementById('boldStuff2').innerHTML = userInput;
I have in my html page: <a href="link">some text</a>
<a href="link">some text</a>