Files
web2py/applications/examples/views/ajax_examples/index.html
2011-12-05 11:39:42 -06:00

14 lines
327 B
HTML

{{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>