jquery easy UI 的hello版

来源:互联网 发布:电力行业大数据应用 编辑:程序博客网 时间:2024/05/14 20:51
<!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 

0 0
原创粉丝点击