當前位置:
首頁 > 知識 > AppML Employees 之完整的應用程序

AppML Employees 之完整的應用程序


??1 - 9 of 9??Filter

AppML Employees 之完整的應用程序

AppML Employees 之完整的應用程序

AppML Employees 之完整的應用程序

AppML Employees 之完整的應用程序

AppML Employees 之完整的應用程序

AppML Employees 之完整的應用程序

AppML Employees 之完整的應用程序

AppML Employees 之完整的應用程序

AppML Employees 之完整的應用程序



AppML Employees 之完整的應用程序

源代碼

HTML 源代碼

<html>

<body>

<h1>Employees</h1>

<div id="Form01"></div>

<div id="List01"></div>

<br>

<table id="Template01" class="appmltable" stylex="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 stylex="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" stylex="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>


Last Name First Name Date of Birth
Davolio Nancy 1968-12-08
Fuller Andrew 1952-02-19
Leverling Janet 1963-08-30
Peacock Margaret 1958-09-19
Buchanan Steven 1955-03-04
Suyama Michael 1963-07-02
King Robert 1960-05-29
Callahan Laura 1958-01-09
Dodsworth Anne 1969-07-02

喜歡這篇文章嗎?立刻分享出去讓更多人知道吧!

本站內容充實豐富,博大精深,小編精選每日熱門資訊,隨時更新,點擊「搶先收到最新資訊」瀏覽吧!


請您繼續閱讀更多來自 程序員小新人學習 的精彩文章:

JSP 開發環境搭建
AppML>案例研究 之簡介

TAG:程序員小新人學習 |