您的位置:首页 > Web前端 > JQuery

jquery easy UI 的hello版

2014-12-10 23:36 597 查看
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>Tree Node Icons - jQuery EasyUI Demo</title>
	<link rel="stylesheet" type="text/css" href="easyui.css">
	<link rel="stylesheet" type="text/css" href="icon.css">
	<script type="text/javascript" src="jquery.min.js"></script>
	<script type="text/javascript" src="jquery.easyui.min.js"></script>
</head>
<body>
	
<div id =  "box" title="js generate dialog" style="width:400px;height:200px;">

</div>

<div class="easyui-dialog" title="class generate dialog" style="width:500px;height:500px">

</div>

<script >
$(function(){
	$("#box").dialog();
});
</script>

</body>
</html>

生成dialog的方式有两种:第一种是通过js生成 (这样可以让js和html分离) 第二种是通过class的属性值就可以了。

jQuery easy ui 的学习视频地址:http://edu.51cto.com/lesson/id-24494.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: