File applications/examples/views/ajax_examples/index.html artifact 2fd6a0649e part of check-in 6548f791b4
{{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>