jQuery functions
<p>I'm trying to remove a class from a HTML tag along with adding a new one and also doing some other magic.</p>

<p>Right now I just have a procedure style coding going on... which I know there's another way of doing it. Like creating a function within another function? I'm not sure what it's called and sometimes when trying to do it, it never worked so I went down procedure style type but I figured I post on here and maybe someone can explain to me on how jQuery works? Right now I have like</p>

<pre><code>$(this).removeClass("theClass");
$(this).addClass("theClass");
$(this).slideDown();
</code></pre>

<p>I think I can do something like </p>

<pre><code>$(this).removeClass("theClass", function(){
  // other goodness?
});
</code></pre>

<p>Thanks everyone. Sorry if i don't make sense.</p>
