[jQuery] Running jQuery when already have $() from prototype

[jQuery] Running jQuery when already have $() from prototype

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>But *<b><span style='font-weight:bold'>I
think</span></b>* the old version handled this different if you included
prototype.js on your page before you included jquery.js<o:p></o:p></span></font>
<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>See <a
href="http://jquery.com/docs/PrototypeAndJQuery/">http://jquery.com/docs/PrototypeAndJQuery/</a><o:p></o:p></span></font>
<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>(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)<o:p></o:p></span></font>
<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'><o:p> </o:p></span></font>
<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>I did find this <o:p></o:p></span></font>
<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'><a
href="http://proj.jquery.com/dev/bugs/bug/137/">http://proj.jquery.com/dev/bugs/bug/137/</a><o:p></o:p></span></font>
<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>“</span></font><font color=black><span
style='color:black'>Prototype Support Plugin”<o:p></o:p></span></font>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;color:black'>I think this means that this is a know
issue, and will be dealt with someday, but again, I am unsure.<o:p></o:p></span></font>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;color:black'>I do hope that it will be dealt with, as
this would save ME a whole bunch of recoding in the next few days.<o:p></o:p></span></font>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;color:black'><o:p> </o:p></span></font>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;color:black'>Am I way off base here? Wouldn’t be
the first time.</span></font><font color=navy><span style='color:navy'><o:p></o:p></span></font>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> discuss-bounces@jquery.com
[mailto:discuss-bounces@jquery.com] <b><span style='font-weight:bold'>On Behalf
Of </span></b>John Beppu
<b><span style='font-weight:bold'>Sent:</span></b> Friday, September 01, 2006
3:52 PM
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">jQuery
Discussion.</st1:PersonName>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [jQuery] Running
jQuery when already have $() from prototype</span></font><o:p></o:p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>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 <a href="http://jquery.com/docs/PrototypeAndJQuery/">http://jquery.com/docs/PrototypeAndJQuery/</a>
.)<o:p></o:p></span></font>
<div>
<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 9/1/06, <b><span style='font-weight:bold'>Geoff
Knutzen</span></b> <<a href="mailto:geoffreyk@seanet.com">geoffreyk@seanet.com</a>>
wrote: </span></font></span><o:p></o:p>
<div>
<div link=blue vlink=blue>
<div>

<font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Does this work in the current 1.01 release?</span></font><o:p></o:p>


<font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>I can't seem to get it to function right. It did seem to be
okay with the old release.</span></font><o:p></o:p>


<font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p>


<font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>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.</span></font><o:p></o:p>


<font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p>


<font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>It is really limiting my implementation right now. I am
hoping to figure this out in the next day or so. </span></font><o:p></o:p>


<font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Is this working for anyone now?</span></font><o:p></o:p>


</div>
</div>
</div>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font>
</div>
</body>
</html>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/