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


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





源代码

HTML 源代码

	<html>
<body>

<h1>Employees</h1>

<div></div>
<div></div>
<br>

<table id=\"Template01\" style=\"width:100%;display:none\">
<tr>
<th></th>
<th>Last Name</th>
<th>First Name</th>
<th>Date of Birth</th>
</tr>
<tr>
<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 style=\"width:100%;display:none\">
<label>Last Name:</label><input>
<label>First Name:</label><input>
<label>Date of Birth:</label><input id=\"BirthDate\">
<label>Photo:</label><input>
<label>Notes:</label><input>
</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>