引用Public里面的文件,为什么CSS能引进来,JS却引不进来,确定没有语法或者单词上的错误
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta name="author" />
<link href="!-PUBLIC-!/css/bootstrap.min.css" rel="stylesheet" media="screen">
<script src="!-PUBLIC-!/js/bootstrap.min.js"></script>
<script src="http://code.jquery.com/jquery.js"></script>
<title>登录页面</title>
</head>
<body>
<h1>Hello, world!</h1>
<div class="control-group info">
<label class="control-label" for="inputInfo">Input with info</label>
<div class="controls">
<input type="text" id="inputInfo">
<span class="help-inline">Username is already taken</span>
</div>
</div>
</body>
</html> 最佳答案