Location: PHPKode > projects > JASPA.DOM > jaspa-dom-0.1.3/example.html
<!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">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>JASPA.DOM | Example</title>

Point at a script we compiled earlier from example.as 
<script type="text/javascript" src="example.js"></script>

For testing; you could compile at runtime with the web compiler, e.g:
<script type="text/javascript" src="/path/to/jas.php/example.as"></script>


<pre>This page is loading example JASPA.DOM script <a href="example.as">example.as</a>.
When the DOM is ready it will say &quot;Hello World&quot;

<a href="README.txt">&raquo; README.txt</a>
<a href="http://www.jaspa.org.uk">&raquo; jaspa.org.uk</a>

Return current item: JASPA.DOM