title: How to use javascript to send a request to call web.py behind code?
body: <p>I have a button in my form.When user click it.It should send a request to the server to get a validate code.I am not sure how to realise it without refresh the page.Wait for your help,guys.Many thanks.</p>