Skip to content

Instantly share code, notes, and snippets.

@mchayapol
Created September 7, 2015 02:46
Show Gist options
  • Save mchayapol/6d1919af8a3e797ad0b3 to your computer and use it in GitHub Desktop.
Save mchayapol/6d1919af8a3e797ad0b3 to your computer and use it in GitHub Desktop.
Test JQuery
<!DCOTYPE html>
<head>
<title>Test</title>
<script src="js/jquery-1.11.3.min.js"></script>
<script>
$(document).ready(function () {
document.getElementById('div1').innerHTML = "Hello";
$('#div2').html("Hello");
});
</script>
</head>
<html>
<body>
<div id="div1"></div>
<div id="div2"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment