index.html 327 B

1234567891011121314
  1. {{extend 'layout.html'}}
  2. <p>Type something and press the button.
  3. The last 10 entries will appear sorted in a table below.</p>
  4. <form>
  5. <INPUT type="text" id="q" name = "q" value="web2py"/>
  6. <INPUT type="button" value="submit"
  7. onclick="ajax('{{=URL('data')}}',['q'],'target');"/>
  8. </form>
  9. <br/>
  10. <div id="target"></div>