repaced the line in web2py_trap_form but with an image as submit button it still reloads the whole page
On Dec 23, 12:42 am, mdipierro <[email protected]> wrote: > Can you run a test for me? > > Edit web2py_ajax.html and replace this line: > > jQuery('input[type="submit"]',this).click(function() > > with this line: > > jQuery(':submit',this).click(function() > > does it do what you ask? > > Massimo > > On Dec 22, 5:34 pm, selecta <[email protected]> wrote: > > > > > when i use a submit button of type "submit" to submit the form the > > refresh works fine, but if i use a submit button of type "image" the > > whole page reloads, can u please change that behaviour, image buttons > > are just so much nicer > > > On Dec 19, 4:19 am, mdipierro <[email protected]> wrote: > > > >http://www.web2py.com/AlterEgo/default/show/252 -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

