Sweet - thanks!

Eric

On Mar 30, 4:03 pm, Oskar Krawczyk <[email protected]> wrote:
> You need to register the new events:
>
> Element.NativeEvents = $extend(Element.NativeEvents, {
>     dragenter: 2, dragover: 2, drop: 2
>
> });
>
> http://jsfiddle.net/oskar/FfHdU/4/
>
> O.
>
> On Mar 30, 2011, at 9:44 PM, Eric Patrick wrote:
>
>
>
>
>
>
>
> > I am attempting to implement a file upload control using the HTML5
> > dataTransfer.files / FileReader function.  I have the basics working,
> > but had to use addEventListener instead of addEvent to handle the drag
> > and drop events for my drop area.
>
> > See:http://jsfiddle.net/FfHdU/3/
>
> > Drop Area A works; it uses addEventListener.
>
> > Drop Area B does not work: it uses addEvent
>
> > Suggestions as to why this is the case and how I might handle things
> > more elegantly?
>
> > Thanks,
>
> > Eric

Reply via email to