- ·上一篇文章:AppML 案例模板
- ·下一篇文章:AppML 案例 Customers
AppML 案例 Employees
<AppML> Employees - 完整的应用程序Last NameFirst NameDate of Birth
#LastName
#
#FirstName
#
#BirthDate
#Last Name:
First Name:
Date of Birth:
Photo:
Notes:
源代码HTML 源代码<html><body><h1>Employees</h1><div id="Form01"></div><div id="List01"></div><br><tableid="Template01" class="appmltable" style="width:
100%;display:
none"><tr><th></th><th>Last Name</th><th>First Name</th><th>Date ofBirth</th></tr><tr id="appml_row"><td style="cursor:
pointer"><imgsrc="http://www.runoob.com/appml/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>FirstName:
</label><input id="FirstName"><label>Date of Birth:
</label><inputid="BirthDate"><label>Photo:
</label><input id="Photo"><label>Notes:
</label><input id="Notes"></div><script src="appml.js"></script><script>var employees,employeesFormemployees=newAppML("appml.php","Models/Employees");employees.run("List01","Template01");employeesForm=newAppML("appml.php","Models/Employees");employeesForm.displayType="form";</script></body></html>
#LastName
#
#FirstName
#
#BirthDate
#Last Name:
First Name:
Date of Birth:
Photo:
Notes:
源代码HTML 源代码<html><body><h1>Employees</h1><div id="Form01"></div><div id="List01"></div><br><tableid="Template01" class="appmltable" style="width:
100%;display:
none"><tr><th></th><th>Last Name</th><th>First Name</th><th>Date ofBirth</th></tr><tr id="appml_row"><td style="cursor:
pointer"><imgsrc="http://www.runoob.com/appml/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>FirstName:
</label><input id="FirstName"><label>Date of Birth:
</label><inputid="BirthDate"><label>Photo:
</label><input id="Photo"><label>Notes:
</label><input id="Notes"></div><script src="appml.js"></script><script>var employees,employeesFormemployees=newAppML("appml.php","Models/Employees");employees.run("List01","Template01");employeesForm=newAppML("appml.php","Models/Employees");employeesForm.displayType="form";</script></body></html>
AppML 案例 Employees