Re: [Proto-Scripty] Re: invoke attachment handling

2010-09-12 Thread Phil Petree
I'd LOVE to read that blog post! On Sun, Sep 12, 2010 at 5:16 AM, T.J. Crowder wrote: > Hi, > > In this situation, I just do a normal (non-Ajax) form POST with the > `target` attribute set to reference a hidden iframe, triggering the > submit via code -- something like this: http://jsbin.com/omug

[Proto-Scripty] Re: invoke attachment handling

2010-09-12 Thread T.J. Crowder
Hi, Oops, forgot to set the method (not that it really matters); fixed: http://jsbin.com/omuge3/2 -- T.J. On Sep 12, 10:16 am, "T.J. Crowder" wrote: > Hi, > > In this situation, I just do a normal (non-Ajax) form POST with the > `target` attribute set to reference a hidden iframe, triggering th

[Proto-Scripty] Re: invoke attachment handling

2010-09-12 Thread T.J. Crowder
Hi, In this situation, I just do a normal (non-Ajax) form POST with the `target` attribute set to reference a hidden iframe, triggering the submit via code -- something like this: http://jsbin.com/omuge3 (in that example the iframe is hidden in a somewhat naive way; I'm not at my main workstation

[Proto-Scripty] Re: invoke attachment handling

2010-09-11 Thread Gregory Nicholas
this is always really tricky -- i used flash for a multi-file uploader i built, and subsequently, discovered they have a similar feature for forcing a browser download. otherwise, it's a lot of tinkering with with your content headers and mime types. i'm almost sure that you can't initiate through

[Proto-Scripty] Re: invoke attachment handling

2010-09-10 Thread Blaine
I have no problem uploading my data, which is not a file. My problem is with having the downloaded data treated as an attachment. On Sep 10, 2:51 pm, Walter Lee Davis wrote: > There is a way in modern browsers to force a file upload through a   > pure Ajax connection. Have a look at noswfupload