Are you using the entire web2py_ajax.js file from the cookbook? If so, much of it is out of date and should not be used. Note, in the current web2py, the name of the file has actually been changed to web2py.js, and a number of changes were made, including resolving that redundant event handler bug. You should use the current web2py.js, and try to copy the special Ajax file upload code only from the cookbook (I think it is limited to the web2py_trap_form() function).
Anthony On Thursday, March 22, 2012 1:52:00 AM UTC-4, Anthony wrote: > > It's the code straight out of the new web2py cookbook. I'm not >> sure ... will I be violating copyright if I post it here? Hmm... >> > > "The code in this book is released under the BSD license, unless otherwise > specified, and is available online on a dedicated GitHub repository listed > below." > >

