But I think that I can get it going now, with the correctly named parameter.
I did some digging and Dojo have a very nice content: {} parameter for
setting 'form' data ina apost on the fly, so I'll use that ^-^
I hope I have time tomorrow to finish a version that can be used for generic
editing... for a given value of generic, of course..
Cheers,
PS
On Feb 13, 2008 8:19 PM, Alexander Klimetschek <[EMAIL PROTECTED]> wrote:
> Ups, my last mail was nonsense regarding the XHR upload. You can't do
> that without iframe or swf tricks. Thanks for correcting me!
>
> Alex
>
> Am 13.02.2008 um 17:26 schrieb Alexander Klimetschek:
>
> > Am 12.02.2008 um 21:51 schrieb Tobias Bocanegra:
> >> i don't know dojo, but afaik in ajax you cannot send a file unless
> >> you
> >> loosen some browser security policies. a work around is to use a
> >> hidden iframe that contains a form.
> >
> >
> > You can send a form with an <input type="file"> via XHR, but you
> > cannot set the filename via Javascript. The user must click the
> > "browse" button and choose a file himself to avoid automatic
> > uploading of critical files.
> >
> > Alex
> >
> > --
> > Alexander Klimetschek
> > [EMAIL PROTECTED]
> >
> >
> >
> >
>
> --
> Alexander Klimetschek
> [EMAIL PROTECTED]
>
>
>
>
>