Michele, I tried out your slice and it works great. Thanks! I think the problem I was experiencing is that I had not changed ajax=True to ajax=False in the LOAD function.
On Jan 10, 5:35 pm, Michele Comitini <michele.comit...@gmail.com> wrote: > I made a slice: > > http://web2pyslices.com/main/slices/take_slice/114 > > mic > > 2011/1/10 K.R.Arun <the1.a...@gmail.com>: > > > Can you show me an example with file upload using jQuery form plugin? > > Michele Comitini wrote: > >> sorry i have to repeat myself, use the following, it is working and it > >> is simple: > >>http://jquery.malsup.com/form/ > > >> it does everything for you, and gives more control than > >> LOAD(...,ajax=True). > > >> mic > >> 2011/1/9 Massimo Di Pierro <massimo.dipie...@gmail.com>: > > >> > On Jan 9, 2011, at 11:31 AM, Arun K.Rajeevan wrote: > > >> > iframe works its own. I'm not a pro on javascript. > >> > May be there is a way in js to access parent document from within iframe. > >> > If there's so, you can write your own js code to update main page (which > >> > embeds iframe). > > >> > yes there is. windows. parent > >> >http://developer.apple.com/internet/webcontent/iframe.html > > >> > I can tell you one more suggestion. > >> > If the parts in the page to be uploaded after each upload is represented > >> > together in the document, > >> > you can redesign the page so that, upload form and parts to be updated > >> > are separated out to a component and load it into iframe. > >> > Since everything is within same scope (iframe) it'll work. > >> > Sorry, I'm not an expert to suggest a way (if part to be uploaded are > >> > scattered in the main document) > >> > (I'm pretty sure JS can do that.) also you are not limited to use only > >> > uploadify there are others too. > >> > -- > >> > mail from:GoogleGroups "web2py-developers" mailing list > >> > make speech: web2py-develop...@googlegroups.com > >> > unsubscribe: web2py-developers+unsubscr...@googlegroups.com > >> > details :http://groups.google.com/group/web2py-developers > >> > the project:http://code.google.com/p/web2py/ > >> > official :http://www.web2py.com/ > > >> > -- > >> > mail from:GoogleGroups "web2py-developers" mailing list > >> > make speech: web2py-develop...@googlegroups.com > >> > unsubscribe: web2py-developers+unsubscr...@googlegroups.com > >> > details :http://groups.google.com/group/web2py-developers > >> > the project:http://code.google.com/p/web2py/ > >> > official :http://www.web2py.com/ > >