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 <angelochen...@yahoo.com.hk>wrote:

>
> 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:
>
> //@IncludeJavaScriptLibrary({"context:/js/jquery-1.3.2.min.js"})
>
> public class Test2 {
> }
>
> template:
>
> < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> < html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
> < head>
>    < title>Start Page</title>
> < /head>
> < body>
> < h1>test</h1>
> < /body>
> < /html>
>
>
> --
> View this message in context:
> http://www.nabble.com/T5%3A-using-jQuery-in-5.0.18-tp23885303p23885303.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to