| 
0
 | 
     1 <!DOCTYPE html
 | 
| 
 | 
     2     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 | 
| 
 | 
     3     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 | 
| 
 | 
     4 <html xmlns="http://www.w3.org/1999/xhtml"
 | 
| 
 | 
     5       xmlns:py="http://genshi.edgewall.org/"
 | 
| 
 | 
     6       xmlns:xi="http://www.w3.org/2001/XInclude">
 | 
| 
 | 
     7 <head>
 | 
| 
 | 
     8 <title>Hello world</title>
 | 
| 
 | 
     9 <script src="${link('jquery.js')}"></script>
 | 
| 
 | 
    10 <script type="text/javascript">
 | 
| 
 | 
    11 $(document).ready(function(){
 | 
| 
 | 
    12 $(".text-input").click(function(){
 | 
| 
 | 
    13 $(this).replaceWith('<form method="post"><input type="text" name="name" value="${name}"/><input type="submit" value="Go!"/></form>');
 | 
| 
 | 
    14 });
 | 
| 
 | 
    15 });
 | 
| 
 | 
    16 </script>
 | 
| 
 | 
    17 </head>
 | 
| 
 | 
    18 <body>
 | 
| 
 | 
    19 <xi:include href="navigation.html" />
 | 
| 
 | 
    20 Hello <span class="text-input">${name}</span>!
 | 
| 
 | 
    21 </body>
 | 
| 
 | 
    22 </html>
 |