I just started a new job, and my first task is to clean up the Javascript code for the site - the problem is that there are two JS libraries being used (jQuery and Prototype / Scriptaculous).
I'm trying to figure out what's being used where, but it's pretty difficult, especially not being very familiar with the code.
Does anyone have any suggestions? I'd probably prefer to drop Prototype / Scriptaculous if possible.
I would trash prototype from all includes on all pages, remove the noconflict in jquery & then keep firebug ready to show me all errors, and go over all the pages one by one, replacing functions with jquery equivalents, until things work right.
..pain in the butt method, but doubt you'll find less painful. Might be helpful: http://api.jquery.com/browser/