Q:

Why isn't this toggling? 

I'm trying to get #content to toggle, but it won't work. 
        $("button").click(function () {
      $("#content").slideToggle("slow");
    });

        <div id="container">
<button>toggggle</button>

          <? php get_sidebar(); ? >

           <div id="content">

A:

It works:
http://jsfiddle.net/NRj3K/
Something must be wrong with your implementation.