thanks .. this is very helpful indeed
On Fri, Dec 12, 2008 at 2:10 PM, evan wrote:
>
> // here i selected two same ids using jquery and prototype
> respectively.
>
> jQuery.noConflict();
> // for jqury selectors use jQuery instead of '$ like
> jQuery(document).ready( function(){
>
// here i selected two same ids using jquery and prototype
respectively.
jQuery.noConflict();
// for jqury selectors use jQuery instead of '$ like
jQuery(document).ready( function(){
jQuery("id").css('color:red');
...
} );'
// then here you can write t
If you take a look at the last part of
http://docs.jquery.com/Using_jQuery_with_Other_Libraries you'll see a
solution.
Basically wrap your jQuery code in one of these two:
(function($) { /* some code that uses $ */ })(jQuery)
jQuery(function($) { /* some code that uses $. run on document.ready */
3 matches
Mail list logo