Posts by Alvaro Guedes • 1 point
1 post
- 
		-2 votes3 answers179 viewsA: Value of a variable becomes the id valueTry using HTML DOM id Property document.getElementById("myAnchor").id = "newid"; 
1 post
-2
votes3
answers179
viewsTry using HTML DOM id Property document.getElementById("myAnchor").id = "newid";