how add script to html in jquery

109

add jquery script in html -

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>

how add script to html in jquery -

$.getScript("test.js", function(){
    alert("Running test.js");
});

Comments

Submit
0 Comments