What do people think about this strategy:

To display client-side local file:
Use jmol "load ?".

To upload the file to the server side when the user hits a button:
get the absolute path of the local file from jmol,
Use xmlhttprequest send() to upload the file to server

for reference, this is my original problem:
I want to display a pdb file on the client-side first, and then upload to the server only when users are ready to submit the form.

Thanks,

-Rob

From: nextgame@hotmail.com
To: jmol-users@lists.sourceforge.net
Date: Wed, 26 Aug 2009 16:47:23 -0500
Subject: Re: [Jmol-users] Re : Re: Re : Re: display and upload local file


Hi all,

> I am seeing now that Chrome and Safari (Windows) have the same security limitation as
> Firefox on reading the value of input file, but cannot use the files.item() method which works
> for Firefox. More research needed :-(

This is essentially my problem-- getastext, getasbinary only works with ff3. Anybody know of any equivalent methods that would work with safari and IE? Thanks.




Attention all humans. We are your photos. Free us.

More storage. Better anti-spam and antivirus protection. Hotmail makes it simple.