[Seaside] file upload through javascript

Patrick Collison patrick at collison.ie
Tue Sep 11 00:11:16 UTC 2007

On 10/09/2007, Andrius Paulavicius <apaulavicius at gmail.com> wrote:
> Hi,
> Is there a way to upload a file without reloading the page? Using
> triggerForm: just gets the string in file input field and not the
> contents of the file itself.

You need to do something kinds hacky -- use a hidden iframe, and set
the target of the form to the name of the iframe. This causes only the
iframe to be refreshed.

> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the seaside mailing list