You can not use JQuery and Prototype at the same time.  All the 
library's use one component of JS and they can not both use it at the 
same time.  Unfortunately you can only use one at a time

---------------------
Nathan Rzepecki
http://www.lionslair.net.au



Sid Bachtiar wrote:
> Great tip!
>
> I encountered this problem too and in the end I gave up and either use
> one or the other.
>
> 2009/3/28 Dean Farrell <[email protected]>:
>   
>> You probably need to use the jQuery.noConflict() function, as both libraries
>> are trying to use $, and colliding with each other.  I put it in my page
>> header.  Then you'll have to use jQuery() instead of $() for any jOuery
>> based functions you run.
>>
>>
>>
>> Dean
>>
>>
>>
>> ________________________________
>>
>> From: [email protected] [mailto:[email protected]]
>> On Behalf Of Guychmyrat Amanmyradov
>> Sent: Friday, March 27, 2009 9:10 AM
>> To: [email protected]
>> Subject: [symfony-users] jQuery + prototype problem
>>
>>
>>
>> Hi.
>> i have forum :
>>
>>             <?php echo form_remote_tag(array(
>>             'update'   => 'wall',
>>             'url'      => 'wall/addcomment',
>>             'before'   => "if(!\$F('comment')){return false;}",
>>             'complete' => "$('comment').value='';"
>>             )) ?>
>>
>> it was working fine. But after i install jQuery it is not working anymore as
>> Ajax!
>>
>> Before, it brings result in ajax and updates wall div. But now, it goes to
>> "wall/addcomment" not bringing result!
>>
>>
>>
>> ________________________________
>>
>> Yahoo! Türkiye açýldý!
>> Haber, Ekonomi, Videolar, Oyunlar hepsi Yahoo! Türkiye'de!
>> www.yahoo.com.tr</font
>>
>>     
>
>
>
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to