<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Smart AJAX Controller with jQuery and PHP</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="Description" content="jQuery based AJAX solution for smart front-end-back-end communication"/>
<meta name="Copyright" content="LGPL - http://www.gnu.org/licenses/lgpl-3.0.txt"/>
<meta name="Author" content="Kristo Vaher - hide@address.com"/>
<!-- jQuery 1.4.2 -->
<script type="text/javascript" src="jquery.js"></script>
<!-- Necessary front-end engine -->
<script type="text/javascript" src="javascript.js"></script>
</head>
<body>
<input type="text" id="example" value="EXAMPLE"/>
<button onclick="uiAction('alertString',$('#example').val());">Alert string with simple uiAction() without AJAX</button>
<button onclick="uiAction('alertLowercaseString',$('#example').val());">Alert string lowercased by PHP and AJAX with uiAction()</button>
</body>
</html>