AppML 사례 직원
源代码
HTML 源代码
<html>
<body>
<h1>직원</h1>
<div id="Form01"></div>
<div id="List01"></div>
<br>
<테이블 id="Template01" class="appmltable" style="width:100%;display:none">
<tr>
<일>일>
<일>성일>
<일>이름일>
<일>날짜 출생
<img
src="../style/images/appmlPlus.png"></td>
<td>#성#</td>
<td>#이름#</td>
<td>#생년월일#</td>
</tr>
</table>
<div id="Template02" class="appmlform" style="width:100%;display:none">
<label>성:</label><input id="LastName">
<label>첫 번째 이름:</label><input id="FirstName">
<label>생년월일:</label><input id="생년월일">
<label>사진:</label><input id="Photo">
<label>메모:</label><input id="Notes">
</div>
<script src="appml.js"></script>
<script> ;
var 직원,employeesForm
employees=new AppML("appml.php","모델/직원");
Employees.run("List01","Template01");
employeesForm=new AppML("appml.php","모델/직원");
employeesForm.displayType="form";
</script>
</body>
</html>
<body>
<h1>직원</h1>
<div id="Form01"></div>
<div id="List01"></div>
<br>
<테이블 id="Template01" class="appmltable" style="width:100%;display:none">
<tr>
<일>일>
<일>성일>
<일>이름일>
<일>날짜 출생
<td>#성#</td>
<td>#이름#</td>
<td>#생년월일#</td>
</tr>
</table>
<div id="Template02" class="appmlform" style="width:100%;display:none">
<label>성:</label><input id="LastName">
<label>첫 번째 이름:</label><input id="FirstName">
<label>생년월일:</label><input id="생년월일">
<label>사진:</label><input id="Photo">
<label>메모:</label><input id="Notes">
</div>
<script src="appml.js"></script>
<script> ;
var 직원,employeesForm
employees=new AppML("appml.php","모델/직원");
Employees.run("List01","Template01");
employeesForm=new AppML("appml.php","모델/직원");
employeesForm.displayType="form";
</script>
</body>
</html>