Re: JQuery in RedDOT

26 views
Skip to first unread message
Message has been deleted

Gavin Cope

unread,
Nov 5, 2009, 10:17:58 PM11/5/09
to reddot-c...@googlegroups.com
Yes, it works fine, we use it all the time. Just load it as you normally would any JavaScript.

I haven't tried in version 10 yet, not sure if there are any conflicts with the MS library.

Cheers,

Gavin

2009/11/3 JimV <vogel...@aol.com>

Had anyone used jQuery in RedDOT templates?
If so, were you able to set it up so that the jQuery executed
correctly both in RedDOT and in the published pages?
Suggestions on best practices on how to do this?
Thanks
Jim



markus giesen

unread,
Nov 8, 2009, 5:32:11 PM11/8/09
to RedDot CMS Users
Be assured there are some problems with v10 and the Microsoft
Javascript library.
We have tried to get it running with all of our jquery code and it
unfortunately breaks some JS functions as it seems..

Having said this I've heard that maybe the next release will solve CSS
and JS issue, but nothing is confirmed here.


On 6 Nov., 14:17, Gavin Cope <gavin.c...@gmail.com> wrote:
> Yes, it works fine, we use it all the time. Just load it as you normally
> would any JavaScript.
>
> I haven't tried in version 10 yet, not sure if there are any conflicts with
> the MS library.
>
> Cheers,
>
> Gavin
>
> 2009/11/3 JimV <vogelja...@aol.com>

rwagner

unread,
Nov 9, 2009, 3:06:45 PM11/9/09
to RedDot CMS Users
When jQuery conflicts with other libraries like prototype, it's
usually because of the dollar sign notation. There's a "no conflict"
function build into jQuery that you can use to get around that
documented here: http://docs.jquery.com/Core/jQuery.noConflict

Basically it takes the dollar sign notation away from jQuery (which is
shorthand anyway).

Before noConflict: $("#id")
After noConflict: jQuery("#id")

Don't know if that helps you in this case -- don't know much about the
MS JS lib -- but it sure has gotten me out of some tight spots! (If
you use this, just remember to find-replace all the dollar sign
notation in your JS...)

ArryD

unread,
Nov 10, 2009, 10:32:19 AM11/10/09
to RedDot CMS Users
I just noticed in the general project settings the option 'Do not
embed Microsoft Ajax Library'. This might help with the conflicting.

I cant find anything in the documentation about the impact on this but
its probably not a good idea, but maybe worth a try.
Reply all
Reply to author
Forward
0 new messages