I think you misread the spec on this. What you are looking at is a read-only
call. You will not be able to turn around and stuff that information into a
field and then submit it to the server, so you are back at the same place
you are now with all other browsers. JavaScript simply will not allow you to
put information into a file field because it is a huge security risk to the
user.
Jim
On Wed, Jan 28, 2009 at 7:10 AM, Florian Giesen <
[email protected]> wrote:
> Thank you Jim!
>
> Although this isn't really a good news for me, at least i don't try to
> implement something impossible any longer. I did some googleing and found
> out, that it is possible to upload files via javascript with the new FF3
> nsIDOMFile <https://developer.mozilla.org/en/nsIDOMFile> API. Maybe the
> other browsers will implement this in the future too.
>
> Regards, Florian
>
>
> 2009/1/27 Jim Hunter <[email protected]>
>
>> Manually setting the values of a upload field is against JavaScript rules,
>> it simply can not be done. If you want to upload data to a server you have
>> to go through a standard HTML form. There is a contribution to qooxdoo that
>> does all that for you 'behind the scenes', I suggest looking into that. The
>> way you are trying to do it is never going to work, JavaScript won't let
>> you.
>>
>> Jim
>>
>>
>>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel