Hi Janko, 1) there should be a line where jquery assigns to $ (not _$) or window.$. This one needs uncommenting. 2) it should be possible to set break points in the JS via firebugs. If it's still not working, try setting breakpoints to see if the right stuff is called and everything has the value it should.
Best Regards, Wulf -----Original Message----- From: joch40 [mailto:[email protected]] Sent: Montag, 17. Oktober 2011 23:00 To: [email protected] Subject: RE: Practical jQuery Integration Hi , thank you all for your support. Great community. but.... I installed Firebug and you are right I think I will need it. First I fund an error in my method javaScriptSupport.addScript(scriptstring, "a", "Test Alarm"); with String scriptstring = "jQuery.noConflict(); jQuery(document).ready(function(){ jQuery(%s).click(function(event){ alert(%s); event.preventDefault(); }); });"; so the jQuery(%s).click part became jQuery(a).click what was wrong so I changed it to javaScriptSupport.addScript(scriptstring, "\"a\"", "Test Alarm"); Now the funny thing is that FireBug dosen´t shows an script error the HTML View shows <body> <div id="header"> <div id="page"> <div id="footer"> </body> so this looks like it should. As a next step I commended out the following part of the jQuery file. // Map over the $ in case of overwrite // _$ = window.$, after some deleting an inserting this Version showed up in the FireBug "script" Tab. But still no result, no error but just not working Cheers Janko the funny thing is -- View this message in context: http://tapestry.1045711.n5.nabble.com/Practical-jQuery-Integration-tp4906814p4911548.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
