Set the button onclick attribute to run a javascript function which calls it using ajax, or, depending on what you're doing, using a trapped link can be a good idea (styled to look like a button if you want, just add class btn to it) finally also consider if you could be doing this using the LOAD helper.
You can read more about trapped links and load here: http://web2py.com/books/default/chapter/29/12 The best way, really depends on what you're trying to achieve. Quinta-feira, 8 de Novembro de 2012 19:52:44 UTC, web4py escreveu: > > hi > i have a button in my html file on click of which i want to call a > function present in default.py unable to find any source... > > --

