could you please give me a simple helloworld example with JQuery

could you please give me a simple helloworld example with JQuery
LVL 9
Manikandan ThiagarajanSenior consultantAsked:
Who is Participating?
 
leakim971PluritechnicianCommented:
Test page : http://jsfiddle.net/pNdxF/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Q_27990649.html</title>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$("body").text("Hello World");
	})
</script>
</head>
<body>
</body>
</html>

Open in new window

0
 
Loganathan NatarajanLAMP DeveloperCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.