AppML 案例 Employees

2015-11-06 0 248

<AppML> Employees – 完整的应用程序


Last Name First Name Date of Birth
#LastName# #FirstName# #BirthDate#


源代码

HTML 源代码

<html>
<body>

<h1>Employees</h1>

<div id=\”Form01\”></div>
<div id=\”List01\”></div>
<br>

<table id=\”Template01\” class=\”appmltable\” style=\”width:100%;display:none\”>
<tr>
<th></th>
<th>Last Name</th>
<th>First Name</th>
<th>Date of Birth</th>
</tr>
<tr id=\”appml_row\”>
<td style=\”cursor:pointer\” onclick=\”employeesForm.run(\’Form01\’,\’Template02\’,\’#EmployeeID#\’)\”>
<img src=\”Images/appmlPlus.png\”></td>
<td>#LastName#</td>
<td>#FirstName#</td>
<td>#BirthDate#</td>
</tr>
</table>

<div id=\”Template02\” class=\”appmlform\” style=\”width:100%;display:none\”>
<label>Last Name:</label><input id=\”LastName\”>
<label>First Name:</label><input id=\”FirstName\”>
<label>Date of Birth:</label><input id=\”BirthDate\”>
<label>Photo:</label><input id=\”Photo\”>
<label>Notes:</label><input id=\”Notes\”>
</div>

<script src=\”appml.js\”></script>
<script>
var employees,employeesForm
employees=new AppML(\”appml.php\”,\”Models/Employees\”);
employees.run(\”List01\”,\”Template01\”);
employeesForm=new AppML(\”appml.php\”,\”Models/Employees\”);
employeesForm.displayType=\”form\”;
</script>

</body>
</html>

遇见资源网 AppML归档 AppML 案例 Employees http://www.ox520.com/4139.html

上一篇:

已经没有上一篇了!

下一篇:

已经没有下一篇了!

常见问题

相关文章

猜你喜欢
发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务