Page Node with HTML / Java Script - Absolute vs Relative Links

Status
This content is read-only, or is not open for further replies.

philmckrackon

Guest
offline
I have a page node with HTML and JS. There are many links but I can only get absolute links to work. I would much rather use relative. Here is a code snippet. Will relative links work? Thanks.

JavaScript:

Code:
document.getElementById("lblYear7174").innerHTML= "<a href=\"https://jeep-cj.com/community/wiki/civilian/#-cj5-1972-1975\" target=\"_blank\">" + value + "</a>";
document.getElementById("imgYear7174").innerHTML= "<a href=\"https://jeep-cj.com/community/wiki/civilian/#-cj5-1972-1975\"...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom