<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
</head>
<body>
<p id="p-id"></p>
<script>
// jQuery
function set_p()
{
$("#p-id").html("jQuery");
}
$(window).load(function($) {
set_p();
});
/*
run:
"jQuery" text in "p-id"
*/
</script>
</body>
</html>