If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!


  • 0
    richard  13 years ago
    OK, I think I got it: the jQuery('form').ajaxForm(...) should probably look like this:
    
    jQuery('#form').ajaxForm({
          dataType: 'script'
        , url: "{{=URL('user_picture_form')}}"
        , target: "#ez-box"
    })
    
    The target will update the input form after submission.

Commented on:

Requires jQuery.form plugin

Hosting graciously provided by:
Python Anywhere