But *I think* the old version handled this different if you included prototype.js on your page before you included jquery.js

See http://jquery.com/docs/PrototypeAndJQuery/

(I am not totally sure on this, I only used jquery for a day or so before I realized that 1.0 had been released)

 

I did find this

http://proj.jquery.com/dev/bugs/bug/137/

Prototype Support Plugin”

I think this means that this is a know issue, and will be dealt with someday, but again, I am unsure.

I do hope that it will be dealt with, as this would save ME a whole bunch of recoding in the next few days.

 

Am I way off base here? Wouldn’t be the first time.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Beppu
Sent: Friday, September 01, 2006 3:52 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Running jQuery when already have $() from prototype

 

I wanted to try to use Prototype and jQuery together, also, but it didn't work out too well for me.

The main show stopper was that a lot of Prototype-based code will assume that the result of $() will be a DOM element.  With jQuery's $(), you will usually get a jQuery object back (so you can do all that cool method chaining).  Unfortunately, the methods and attributes of a jQuery object are not the same as the methods and attributes of a DOM element object, so you're screwed.

This was my experience pre-1.0, but I can't imagine the situation being very different now.  I don't want to have to make this conclusion, but it seems like Prototype and jQuery are fundamentally incompatible, because they both want $().

---

Now, it's quite possible that I'm doing something really stupid or overlooking something obvious.  If that's the case, I hope someone can clue me in.

(...and yes, I read http://jquery.com/docs/PrototypeAndJQuery/ .)

On 9/1/06, Geoff Knutzen <[EMAIL PROTECTED]> wrote:

Does this work in the current 1.01 release?

I can't seem to get it to function right. It did seem to be okay with the old release.

 

I asked this same question a day or two ago and got no reply. I think it probably got lost in the confusion of the new release.

 

It is really limiting my implementation right now. I am hoping to figure this out in the next day or so.

Is this working for anyone now?

 

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to