[Seaside] Re: Ajax File Upload

J.F. Rick self at je77.com
Tue Jun 16 23:09:19 UTC 2015


I've looked a bit more into it and it seems that I'll have to do a form
submit and use jquery / ajax to stop the normal submit action. That seems
fine but I don't know how to hook that into seaside.

Cheers,

Jeff

On Tue, Jun 16, 2015 at 6:44 PM J.F. Rick <self at je77.com> wrote:

> Is there a way to use Seaside jQuery Ajax support to upload a file while
> staying on the page? I tried using jQuery callback with value but I just
> got the file name:
>
> ... onChange: (html jQuery ajax
>     callback: [ :file | file inspect ]
>     value: (html jQuery id: 'file') value)
>
> Is there something else I could use? Could I for instance have the form
> submit but have it not go to a different page?
>
> Cheers,
>
> Jeff
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20150616/12792ae1/attachment.htm


More information about the seaside mailing list