Answer the question
In order to leave comments, you need to log in
How to change the url address of a button link using js?
There is one button with a link to the page, how to change it through js? tried like this
Tried to give id to link : a id ="gotopay"
then in js
document.getElementById('gotopay').href ="http://site.ru/id=2"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question