Artifact 2fd6a0649ee49e87032531b4c4e9e69e83d9ae3c:
- File applications/examples/views/ajax_examples/index.html — part of check-in [eba4a35a21] at 2011-08-08 04:53:38 on branch develop — Added web2py 1.98.2 (user: spiffy, size: 327) [annotate] [blame] [check-ins using]
{{extend 'layout.html'}} <p>Type something and press the button. The last 10 entries will appear sorted in a table below.</p> <form> <INPUT type="text" id="q" name = "q" value="web2py"/> <INPUT type="button" value="submit" onclick="ajax('{{=URL('data')}}',['q'],'target');"/> </form> <br/> <div id="target"></div>