代码有什么问题?我确定js文件的路径是正确的。我认为这是代码。它没有显示插入的段落..
<!DOCTYPE html>
<html lang="en">
<head>
<title>Embedded Script</title>
<meta charset="utf-8"/>
</head>
<body>
<h1>Embedded Script Example</h1>
<script type="text/javascript" charset="utf-8" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("h1").after("<p>I've just inserted a paragraph</p>");
});
</script>
</body>
</html>