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?
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francisco Brito
Sent: Friday, September 01, 2006
8:59 AM
To: jQuery
Discussion.
Subject: Re: [jQuery] Running
jQuery when already have $() from prototype
There's a better
explanation at the jQuery home page, but in a nutshell:
jQuery detects your previously defined $ function and executes some additional
logic. The only difference is that $('hello') will now try it by tag name and
then by id. The only truly ambiguous case is if you currently have an id that
also matches a tag in your document, for example $('address'). This should be
rare so if it does come up it shouldn't be difficult to fix.
Now, I've had other collisions with some of the plugins, namely interface. I
have prototypes for Array and Number objects and there seems to be a bit of a
misunderstanding there. In my opinion this is a bug in interface, but we'll
see.
cheers
Brito
On 9/1/06, Rune
Sandberg <[EMAIL PROTECTED]>
wrote:
Hi,
The company I work for have our own custom _javascript_ library where we
basically have 'borrowed' some functions such as the infamous $() from
prototype as well as a fair bit of our own. The application is pretty big and we
want to avoid changing the current $() functionality, but we really want to
start incorporating jQuery. I have read docs/PrototypeAndJQuery/, but I'm still
not sure how this would work. Will the jQuery $() (which is 100 times better)
overwrite the prototype $() when jQuery is included last? I thought I'd try to
reach out to someone with experience doing this instead of causing the
application to break severely.
Thanks, Rune
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/