"Death before Flash". Nuff said.
I found a solution, however some functions with Prototype aren't
working for some reason. I started another post about that.
element.update has no properties...which is strange. It's an empty
element, and it's definitely there.
My research today said something about opening up the DOM security,
which is possible, but not recommended at any level. So, the
non-refresh gets taken care of by iFrame, and the load of the iFrame
launches an event.observer target function that should do what I want.
95% of it works. The observe works, calls the function, but for some
reason, my target div doesn't have any properties. Like it's not
there. Very very strange.
Cheers
On 7/9/07, jwmeigs <[EMAIL PROTECTED]> wrote:
>
> Nope, don't think you can grab files and upload them via javascript.
> Check out some Flash plugins for this. Reason is security I believe,
> imagine javascript grabbing c:/turbotax_return or something.
>
> I actually remember when Yahoo released their javascript library the
> Ajax style form submit had a comment in the code about this very
> issue.
>
> On Jul 8, 8:34 am, BeeRich <[EMAIL PROTECTED]> wrote:
> > Hi folks. Original post erased, reworked in this message.
> >
> > I'm trying to use a form submit, using AJAX, to submit a file.
> >
> > I will go through stuff.js which has a function that grabs the file
> > submission:
> >
> > $('item5')
> >
> > Is this doable? Can I then turn around and submit this into an
> > ajax.updater in order that my middleware can process it in
> > file_uploads (the regular way I do it) without refreshing a form?
> >
> > Is there a way to submit files without refreshing a form?
>
>
> >
>
--
BeeRich, Toronto
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---