Re: T5: using jQuery in 5.0.18

2009-06-05 Thread Onno Scheffers
Are you using the jQuery no-conflict mode? jQuery.noConflict(); Otherwise Prototype and jQuery will conflict. regards, Onno Scheffers On Fri, Jun 5, 2009 at 11:43 AM, Angelo Chen wrote: > > Hi, > > following error always show up in the error console of Firefox: > > Error: element.attachEve

Re: T5: using jQuery in 5.0.18

2009-06-05 Thread Angelo Chen
Hi Thiago, That works with my simple test page, Thanks. now will proceed to the complicated pages. Angelo Thiago H. de Paula Figueiredo wrote: > > On Fri, Jun 5, 2009 at 10:01 AM, Angelo Chen > wrote: > >> Hi, > > Hi! > >> Andy's solution works, however if modifying jquery works, it will b

Re: T5: using jQuery in 5.0.18

2009-06-05 Thread Thiago H. de Paula Figueiredo
On Fri, Jun 5, 2009 at 10:01 AM, Angelo Chen wrote: > Hi, Hi! > Andy's solution works, however if modifying jquery works, it will be > transparent, now at where should I insert the jQuery.noConflict()? jQuery's > code really too difficult for me to understand. the last two lines from > uncompres

Re: T5: using jQuery in 5.0.18

2009-06-05 Thread Angelo Chen
Hi, Andy's solution works, however if modifying jquery works, it will be transparent, now at where should I insert the jQuery.noConflict()? jQuery's code really too difficult for me to understand. the last two lines from uncompressed file are: }); })(); Thiago H. de Paula Figueiredo wrote: >

Re: T5: using jQuery in 5.0.18

2009-06-05 Thread Thiago H. de Paula Figueiredo
On Fri, Jun 5, 2009 at 7:52 AM, Andy Pahne wrote: > I had the same problem. > Unfortunatly calling >  jQuery.noConflict() did not help, either. > Don't know what the exact problem was. I guess that's because jQuery.noConflict() was invoked after it should. My solution was to edit the jQuery file

Re: T5: using jQuery in 5.0.18

2009-06-05 Thread Andy Pahne
I had the same problem. Unfortunatly calling jQuery.noConflict() did not help, either. Don't know what the exact problem was. My workaround: I did not include jQuery via @IncludeJavaScriptLibrary, but instead I loaded it with a plain script tag in my layout component and then called jQuery.

T5: using jQuery in 5.0.18

2009-06-05 Thread Angelo Chen
Hi, following error always show up in the error console of Firefox: Error: element.attachEvent is not a function Source File: http://127.0.0.1:8080/assets/5.0.18/scriptaculous/prototype.js Line: 4016 line: 4071 if I uncomment the following line, error goes away, any idea why? java code: //@In