jquery.min.js & prototype.js – conflict and resolution

While I was writing a WordPress plugin for a client, it came to a situation where I need to use both jquery.min.js & prototype.js and this result in a conflict. After googling around I found this page citing the same problem. Still no luck after trying the suggested solution (jQuery.noConflict();).

It is the link in the comment from Ahsan Shahzad which save my day. Thanks!

Since both script use $()-function, I just need to be more specific on my jquery lines by adding adding the jQuery(function($){ bla; }); portion.

Dear fellow Malaysians, if you like the content of this blog and thinking about to support me to continue writing good content, please consider to sign up for Takaful service from me. I am offering life & accidental coverage plans and medical card too. Kindly message me using the PM box on the sidebar (under profile picture). Thanks ;)

Leave a Reply

Your email address will not be published. Required fields are marked *