Makes sense to me.  I am slowly converting lots of our old JS from
Prototype.  A platform of old Prototype and new jQuery makes Jason a
stressed-out programmer.

Thanks for the info.

On May 18, 10:36 am, John Resig <[email protected]> wrote:
> Jason -
>
> I'm not sure if this is something that we want to handle, specifically
> (especially since that method has already been removed in current versions
> of Prototype).
>
> --John
>
> On Mon, May 18, 2009 at 1:27 PM, Jason Persampieri <[email protected]>wrote:
>
>
>
> > (Solution found... more info provided for future searchers)
>
> > After completely ignoring this over the weekend, the answer was
> > blindingly obvious this morning.  For legacy reasons, Prototype was
> > being included... and it was being included before jquery.  Hence,
> > element.getElementsByClassName was some Prototype-bastardized
> > version.  Moving the jQuery load before Prototype fixed the problem.
>
> > For the jquery devs, is this something that should (can) be detected
> > or worked-around?
>
> > _jason
>
> > On May 14, 9:57 am, Jason Persampieri <[email protected]> wrote:
> > > (cross-posted on the users' group... hope this is the correct forum)
>
> > > My site works fine on Firefox and IE, but on Webkit-based browsers,
> > > any call to jQuery(function() {}) results in this error on line 83 of
> > > jquery-1.3.2.js --
>
> > > TypeError: Result of expression 'jQuery( document ).ready' [undefined]
> > > is not a function
>
> > > Basically, the jQuery.fn object is not getting extended with ready,
> > > hover, etc....  I have isolated the actual crash to line 2238 of
> > > jquery-1.3.2.js.
>
> > > if ( div.getElementsByClassName("e").length === 0 )
> > >          return;
>
> > > I threw a try/catch block around the code and receive this exception -
>
> > > NOT_SUPPORTED_ERR: DOM Exception 9
>
> > > I am currently running Safari Version 4 Public Beta (5528.16), but
> > > apparently this bug is occurring in v3 as well (and of course,
> > > Chrome).
>
> > > By ignoring exceptions generated from the above, and the equivalent
> > > line 2 statements later, my page loads and everything executes
> > > perfectly.
>
> > > _jason
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" 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/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to