You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>JS开发框架展示</title>
|
|
<script src="../WF/Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
|
|
<script src="../WF/Scripts/config.js" type="text/javascript"></script>
|
|
<script src="../WF/Comm/Gener.js" type="text/javascript"></script>
|
|
<script type="text/javascript">
|
|
|
|
window.onload =
|
|
function Init() {
|
|
|
|
$("#Msg").html("正在加载请稍候....");
|
|
var emps = new Entities("BP.Port.Emps");
|
|
emps.RetrieveAll();
|
|
|
|
var html = "<ul>";
|
|
for (var i = 0; i < emps.length; i++) {
|
|
|
|
var emp = emps[i];
|
|
html += "<li> <input type=checkbox value='" + emp.No + "' id='CB_" + emp.No + "' /><label for='CB_" + emp.No + "'>" + emp.Name + "</label> </li>";
|
|
}
|
|
html += "</ul>";
|
|
|
|
$("#Msg").html("");
|
|
$("#Msg").html(html);
|
|
}
|
|
|
|
//约定的方法名,不能变化.
|
|
function Btn_OK() {
|
|
var val = "我选择返回的值";
|
|
return val;
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="Msg" name="Msg">
|
|
</div>
|
|
</body>
|
|
</html>
|