Upgrading a piece of code from jQuery 1.3.2 to the latest version
<p>This code works in jQuery 1.3.2</p>

<pre><code>        $(document).ready(function() {

            $(function() {
                $("#proiecte").click(function(e) {
                    e.preventDefault();
                    $("#ThisWillScroll").removeClass() .addClass("slide1");
                    $("#menu li a").removeClass(), $("#proiecte").addClass("active");
                });
            });

            $(function() {
                $("#desprenoi").click(function(e) {
                    e.preventDefault();
                    $("#ThisWillScroll").removeClass() .addClass("slide2"),
                    $("#menu li a").removeClass(), $("#desprenoi").addClass("active");
                });
            });

        });
</code></pre>

<p>However when I replace the library with the latest version (1.6.2), it stops working. </p>

<p>I'm not very well versed in jQuery and have no clue what it could be inside my code that stops it from working. A deprecated function maybe ?</p>

<p>--</p>

<p>It has been solved.</p>

<p>I had a piece of forgotten code which messed up the script. </p>

<p>Thanks to <a href="http://stackoverflow.com/users/764846/genesis">genesis</a> for pointing out there's a JS console, I had no clue there was something like that (I mainly work in design).</p>
