javascript get element by id innertext and pass to url code example Example: change innertext javascript element.innerText = "Hello World";