You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
948 B
24 lines
948 B
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>SwitchButton Actions - jQuery EasyUI Demo</title>
|
|
<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
|
|
<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
|
|
<link rel="stylesheet" type="text/css" href="../demo.css">
|
|
<script type="text/javascript" src="../../jquery.min.js"></script>
|
|
<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<h2>SwitchButton Actions</h2>
|
|
<p>Click the buttons below to perform actions.</p>
|
|
<div style="margin:20px 0;"></div>
|
|
|
|
<div style="margin:20px 0;">
|
|
<a href="#" class="easyui-linkbutton" onclick="$('#sb').switchbutton('disable')">Disable</a>
|
|
<a href="#" class="easyui-linkbutton" onclick="$('#sb').switchbutton('enable')">Enable</a>
|
|
</div>
|
|
|
|
<input id="sb" class="easyui-switchbutton" checked style="width:100px;height:30px">
|
|
</body>
|
|
</html>
|