thanks .. this is very helpful indeed

On Fri, Dec 12, 2008 at 2:10 PM, evan <umeshpati...@gmail.com> wrote:

>
> // here i selected two same ids using jquery and prototype
> respectively.
> <script type="javascript">
>      jQuery.noConflict();
>     // for jqury selectors use jQuery instead of '$ like
>     jQuery(document).ready( function(){
>         jQuery("id").css('color:red');
>         ...
>        } );'
>   // then here you can write the prototype script using '$' as
> selector.
>    function myFun(){
>         $('id').setStyle({color:red;})
>     }
> </script>
>
> You can replace $ with any other variable by indicating such before
> starting the script as
>    var $v =jQuery.noConflict();
>
>    $v(document).ready( fun );




-- 
Amardeep Sarkar

Reply via email to