Using javaScript to change a button class destination
-
Hi,
I am using the Quill theme (https://demo.athemes.com/quill/), the services are set up so that when you click the ‘read more’ button on the front page it brings you to the individual service. I would like it bring you to the services page.
The way I am thinking of doing this is to use javaScript to change the link destination. Could someone advise me on how to do this as the only way Iv found with it is by getElementById which would work but this is a class of buttons I want to change and Im not sure how to ‘getElementByClass’.
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Using javaScript to change a button class destination’ is closed to new replies.