还是无法展示功能,
<!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>
<script language="javascript" type="text/livescript" src="file:///d|/我的文档/未命名站点 2/jquery-1.11.3.min.js"></script>
<link href="file:///d|/我的文档/未命名站点 2/选择器.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>.class选择器</title>
</head>
<body>
<div class="red">立正,向我这边看起</div>
<div class="green">我叫茹鹏锟</div>
<script type="text/javascript">
var $myname=$(".red").html();
$(".green").html($myname);
</script>
</body>
</html>
是因为jquery文件导入的问题吗?