Answers for "href link onclick"

6

onclick href

onclick="location.href='http://www.hyperlinkcode.com/button-links.php'"
Posted by: Guest on March-30-2020
0

how to use onclick in href tag

$("#myHref").on('click', function() {
    document.getElementById(".myDiv").style.flexGrow = "5";
     window.location = "http://www.google.com";

});`
Posted by: Guest on November-05-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language