为什么我的简单html css / jquery代码没有运行 [英] why my simple html css/jquery code isnt running
问题描述
<!doctype html)
<html>
<head>
<title>Jquery Form Demo</title>
<link href="css/jquery-ui.min.css" rel="stylesheet" type="text/css"></link>
<link href="css/demoproject.css" rel="stylesheet" type="text/css"></link>
<script type="text/javascript" src="site-js/jquery.js"></script>
<script type="text/javascript" src="site-js/jquery-ui.min.js"></script>
<script type="text/javascript" src="site-js/jqueryForm.js"></script>
<script type="text/javascript" src="site-js/dialogValidation.js"></script>
</head>
<body>
<br>
This is a jqeury dialo3g example:
<br>
<div id="jqueryDialogBox" title="Basic Dialog">
<div id="errorZone"></div>
<table>
<tr>
<td><label>Name:</label></td><td><input type="text" id="name"/></td>
</tr>
<tr>
<td><label>Date of birth</label></td><td><input type="text" id="dob"/></td>
</tr>
</table>
</div>
</body>
</html>
我看到这样的东西
[IMG] http://i62.tinypic.com/ru729d.jpg [/ IMG]
[ ^ ]
现在意味着,css文件不是找到我的代码。我有双重检查和css文件在那里。我也检查了,我正在打开正确的页面。
还能做些什么呢?
http://i57.tinypic.com/315flt3.jpg [ ^ ]
这里是jquery代码
[ IMG] http://i61.tinypic.com/2hwsw4.jpg [/ IMG]
这里是来自开发者控制台的消息
[IMG] http://i60.tinypic.com/ws7m6f.jpg [/ IMG]
I see something like this
[IMG]http://i62.tinypic.com/ru729d.jpg[/IMG]
[^]
now it means, css file isnt located by my code. I have double checked and css file is there. I also checked and i am opening correct page.
what else can make this happen?
http://i57.tinypic.com/315flt3.jpg[^]
here's jquery code
[IMG]http://i61.tinypic.com/2hwsw4.jpg[/IMG]
here's the messages from developer console
[IMG]http://i60.tinypic.com/ws7m6f.jpg[/IMG]
推荐答案
replace -
replace -
<!doctype html)
<!doctype html)
with
with
<!doctype html>
<!doctype html>
这篇关于为什么我的简单html css / jquery代码没有运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!