<html lang="en-US">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/demo/appml.css">
</head>
<body>
<h1>Customers</h1>
<div id="Form01"></div><br>
<div id="List01"></div><br>
<table id="Template01" class="appmltable" style="width:100%;display:none">
<tr>
<th></th>
<th>Customer</th>
<th>City</th>
<th>Country</th>
</tr>
<tr id="appml_row">
<td style="cursor:pointer" onclick="openForm('#CustomerID#')">
<img src="/demo/Images/appmlPlus.png"></td>
<td>#CustomerName#</td>
<td>#City#</td>
<td>#Country#</td>
</tr>
</table>
<script src="/demo/appml.js"></script>
<script>
var customers,customerForm;
customers=new AppML("../appml/appml.php","../appml/Models/Customers.xml");
customers.run("List01","Template01");
function openForm(id)
{
customerForm=new AppML("appml.phpx","Models/Customers");
customerForm.displayType="form";
customerForm.run("Form01","",id);
}
</script>
</body>
</html>