jQuery: The Write Less, Do More JavaScript Library

 « Return to Thread: Can I use DWR and jQuery together?

Re: Can I use DWR and jQuery together?

by Joe Walker-3 :: Rate this Message:

Reply to Author | View in Thread



Although dwr.util does have a $, it's not a conflict.
dwr doesn't use $ internally and is totally happy for it to be
redefined. Also it checks to see that it doesn't exist before it
defines it.
So it's safe to include dwr.util and jquery (without noconflict) in
either order. When you're done $ = jquery and dwr still works.

Joe.

On May 13, 4:31 pm, mmiller <mark.o.mil...@...> wrote:

> Sure. If you use theDWRutils.js you will have a collision over the
> use of the $ variable. But jQuery's noConflict option can get you past
> this. Additionally, I find that jQuery basically replaces theDWR
> utils for DOM work.
>
> On May 13, 9:01 am, jmDesktop <needin4mat...@...> wrote:
>
> > Kind of new to both, but I am using WebSphere andJavatechnologies.
> > I have used jQuery for various effects in the past and am familiar
> > with it.  DWR, new to me.  Can I use both libraries in my web pages?
> >DWRfor remoting and jQuery for visual and other effects?
>
> > Thanks.

 « Return to Thread: Can I use DWR and jQuery together?

LightInTheBox - Buy quality products at wholesale price