スニペット
<!DOCTYPE html>
<html>
<head>
<title>test</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=620px" />
<style type="text/css">
<!--
#wrap{
background-color: gray;
-->
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript">
/* jQuery v1.3.2が読み込まれているか確認 */
$(function(){
/* 例1 */
if(jQuery){
$("#res1").html("<p>jQueryは読込まれています。"+jQuery+"</p>");
}
/* 例2 */
if (typeof jQuery!="undefined"){
$("#res2").html("<p>jQueryは読込まれています。typeof jQuery="+typeof jQuery+"</p>");
}
});
</script>
</head>
<body>
<div id="wrap">
<div id="res1"></div>
<div id="res2"></div>
</div>
</body>
</html>
jqueryが動作してるかのチェックも同時に行う。cssもheadに直接ぶちこむ。