<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>按钮</title>
<link rel="stylesheet" type="text/css" href="js/jquery-easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="js/jquery-easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="js/jquery-easyui/themes/default/linkbutton.css">
<link rel="stylesheet" type="text/css" href="js/jquery-easyui/themes/default/splitbutton.css">
<script src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery-easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script>
$(function () {
//禁用链接按钮
$('#cancel').linkbutton('disable');
//启用链接按钮
// $('#cancel').linkbutton({disabled:false});
});
</script>
</head>
<body>
<!--链接按钮-->
<div>
<a href="#" id="cancel" class="easyui-linkbutton" iconCls="icon-cancel">Cancel</a>
<a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-print">Print</a>
<a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-reload">Refresh</a>
<a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-search">Query</a>
</div>
<br><br><br>
<div>
<div style="background:#fafafa;padding:5px;200px;border:1px solid #ccc">
<a href="#" class="easyui-menubutton" menu=".box1" iconCls="icon-edit">Edit</a>
<a href="#" class="easyui-menubutton" menu=".box2" iconCls="icon-help">Help</a>
</div>
<!--菜单按钮-->
<div class="box1" style=" 100px;">
<div iconCls="icon-add">Add</div>
是iconCls:不是class
<div iconCls="icon-cut">Cut</div>
<div iconCls="icon-undo">Undo</div>
<!--分割按钮:类名"menu-sep"-->
<div class="menu-sep"></div>
<div>Copy</div>
<div>Delete</div>
<div class="menu-sep"></div>
<div iconCls="icon-redo">Redo</div>
<div iconCls="icon-remove">Remove</div>
<div>
<span>Open</span>
<div style="150px;">
<div>Firefox</div>
<div>Internet Explorer</div>
<div class="menu-sep"></div>
<div>Select Program...</div>
</div>
</div>
<div>Select All</div>
</div>
<div class="box2" style=" 150px">
<div>Help</div>
<div>Update</div>
<div>About</div>
</div>
</div>
</body>
</html>