element.attachEvent is not a function error in Prototype with Low Pro

1,134 views
Skip to first unread message

darth

unread,
Nov 21, 2009, 3:03:43 AM11/21/09
to Prototype & script.aculo.us
I'm having problem with Prototype working together with Low Pro. Just
by adding Low Pro, I get JS error in prototype "element.attachEvent is
not a function" on line 4536. When I remove Low Pro, there is no
error.

The lin in Prototype where error occurs is

element.attachEvent("on" + actualEventName, responder);

where actualEventName contains "unload"

I'm using Prototype 1.6.1 and Low Pro 0.5, the same error occured also
with Prototype 1.6.0.3

david

unread,
Nov 23, 2009, 12:41:56 PM11/23/09
to Prototype & script.aculo.us
Hi darth,

could we have an live exemple page ?? To see if we can do something.
I see that you've try to send a message to the low pro Google Groups,
but seems to have been spammed :((
Did you try to send a message directly to the webmaster of danweb
site ??

--
david

Alex McAuley

unread,
Nov 23, 2009, 6:15:05 PM11/23/09
to prototype-s...@googlegroups.com
Its probably conflicting with each other ...

I use Jquery and Prototype together in alot of apps and i get the same error
unless i tell jQuery to not conflict


Alex Mcauley
http://www.thevacancymarket.com
> --
>
> You received this message because you are subscribed to the Google Groups
> "Prototype & script.aculo.us" group.
> To post to this group, send email to
> prototype-s...@googlegroups.com.
> To unsubscribe from this group, send email to
> prototype-scripta...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=.
>
>
>

david

unread,
Nov 24, 2009, 2:00:10 AM11/24/09
to Prototype & script.aculo.us
Hi Alex,

Low Pro 0.5 supports Prototype 1.6.
so should have no conflict with both inclusion.

--
david

On 24 nov, 00:15, "Alex McAuley" <webmas...@thecarmarketplace.com>
wrote:
> Its probably conflicting with each other ...
>
> I use Jquery and Prototype together in alot of apps and i get the same error
> unless i tell jQuery to not conflict
>
> Alex Mcauleyhttp://www.thevacancymarket.com

Alex McAuley

unread,
Nov 24, 2009, 3:38:12 AM11/24/09
to prototype-s...@googlegroups.com
Evidently not else it wouldn't be conflicting !

Alex Mcauley
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
>
>

david

unread,
Nov 24, 2009, 6:38:32 AM11/24/09
to Prototype & script.aculo.us
Hi darth,

an idea is to get the latest version from the github website.
The DanWeb site have a link to the low pro version in GitHub (it seems
that the version have some trouble with FF 3.5).

--
david

On 24 nov, 09:38, "Alex McAuley" <webmas...@thecarmarketplace.com>
wrote:
> Evidently not  else it wouldn't be conflicting !
>

darth

unread,
Nov 25, 2009, 5:43:51 AM11/25/09
to Prototype & script.aculo.us
Hi david,

downloading github version of low pro did help :)

thanks
Reply all
Reply to author
Forward
0 new messages