Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Conflict between mootools.js and prototype.js

Posted on 2009-07-09
2
Medium Priority
?
3,238 Views
Last Modified: 2013-11-11
Hi Experts,
I am having conflict between mootools.js and prototype.js in my code.
I am using mootools.js for validation and prototype.js for user rating stars. Both are working individually but when I use both the functionalities in a single page the user rating stars are working but validation is not working.
Can you please help me to avoid conflict between these two.

Thanks in Advance.  
0
Comment
Question by:parumuga
2 Comments
 
LVL 35

Accepted Solution

by:
TimYates earned 1500 total points
ID: 24821106
The latest mootools has a compatability mode which you can use:

http://mootools.net/blog/2009/06/19/mootools-123-released/

However it is not recommended (as can be seen on the MooTools link), can't you use MooTools for rating stars?

http://birijan.com.np/?q=mootools+star+rating

(I'm sure there are others should that not work with your version of MooTools)

Tim
0
 

Author Closing Comment

by:parumuga
ID: 31601494
Solution was useful
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question