You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Nikola Milikic <ni...@gmail.com> on 2010/05/26 22:27:52 UTC
Re: Ajax working in noConflict() mode for jquery, but not jquery
itself and vice versa
To add:
I just noticed that when adding jquery like this, I can't even submit a form
:(
Regards,
Nikola
On Wed, May 26, 2010 at 9:54 PM, Nikola Milikic <ni...@gmail.com>wrote:
> Hi everyone,
>
> I'm using jquery for displaying fancybox <http://fancybox.net> dialog on
> my pages. It is working well when I add it like
>
>
> @IncludeJavaScriptLibrary({
>> "context:js/jquery.min.js",
>> "context:js/jquery.fancybox-1.3.0.js",
>> })
>
>
> (and not when just add it to the head of the page)
>
> but in that case I can't use Tapestry's Ajax functionality with Zone
> components. It is just performing nothing on Ajax call.
>
> Following suggestions<http://wiki.apache.org/tapestry/Tapestry5HowToIntegrateJQuery>I added "jQuery.noConflict();" line at the end of jquery file and in that
> case Ajax is working, but now my dialog doesn't (neither does any other
> jquery call on the page).
>
> Did anyone face similar problem before? How can I fix this?
>
> Thank you for the assistance.
>
> Regards,
> Nikola
>