Reinventing href
βs in js
!
function DoNav(theUrl){
document.location.href = theUrl;
}
And the markup:
<p onclick="DoNav('https://examplewebpage.com');">...</p>
Reinventing href
βs in js
!
function DoNav(theUrl){
document.location.href = theUrl;
}
And the markup:
<p onclick="DoNav('https://examplewebpage.com');">...</p>