Answers for "referencing html in jquery vs creating html with jquery"

2

inner html jquery

$('#selector').text('Your text here');
Posted by: Guest on March-28-2020
1

jquery in html

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
Posted by: Guest on February-19-2020

Browse Popular Code Answers by Language