Skip to content

Instantly share code, notes, and snippets.

@nextechu
Created March 29, 2014 21:52
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<p id="hellothere" class="hello">Hello</p>
<p class="hello">World</p>
<script src="Scripts/jquery-2.1.0.js"></script>
<script>
$(document).ready(function () {
//Code here
alert($("#hellothere").text()); // Hello
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment