I’ve started a php project, it will use cakePhp.
I saw that cakePhp has its Ajax Helper only working with prototype. Okay, not a problem, I can use prototype for the ajax helper.
The problem is that I wish to use javascript to ease my views development, using some cool features(e.g. slidedown the content of a div, …).
I didn’t find any way to do this with prototype(is it possible or not?), so I thought of using jquery only to do this, the problem is that they have both the same structure and when I try to do something like
$("mydiv").SlideDown("fast");
It never uses the correct library, so I think they are incompatible(because they have both the same synthax.
So what is my best shot with this kind of problem?
use
jQuery("myDiv")selector instead, or you can usejQuery.noConflict()to return control over$variable to prototypejQuery noConflict