JQuery Empty Function
<p>I am attempting to completely empty a div, I have it populated on load with PHP and a foreach loop, its printing programs from a database, here's what the source looks like when the page is first loaded</p>

<pre><code>&lt;div class="frame" id="program_list"&gt;                                       
&lt;div class="box"&gt;
    &lt;div class="box-holder"&gt;
        &lt;div class="box-frame"&gt;
            &lt;h3&gt;Marathon&lt;/h3&gt;                       &lt;p&gt;Run 26 miles around the city.&lt;/p&gt;                                            &lt;p&gt;Trainer: John Doe&lt;/p&gt;
                                                &lt;span class="btn-program"&gt;&lt;a href="#" tabindex="10"&gt;&lt;em&gt;BID PROGRAM&lt;/em&gt;&lt;/a&gt;&lt;/span&gt;
                                            &lt;/div&gt;
                                        &lt;/div&gt;
                                    &lt;/div&gt;


                                    &lt;div class="box"&gt;
                                        &lt;div class="box-holder"&gt;
                                            &lt;div class="box-frame"&gt;
                                                &lt;h3&gt;Jumping Jacks&lt;/h3&gt;
                                                &lt;p&gt;Do 400 Jumping Jacks in 15 minutes&lt;/p&gt;
                                                &lt;p&gt;Trainer: Jane Doe&lt;/p&gt;
                                                &lt;span class="btn-program"&gt;&lt;a href="#" tabindex="10"&gt;&lt;em&gt;BID PROGRAM&lt;/em&gt;&lt;/a&gt;&lt;/span&gt;
                                            &lt;/div&gt;
                                        &lt;/div&gt;
                                    &lt;/div&gt;
</code></pre>

<p>And I'm trying to empty the program_list div with a jquery empty function like this:</p>

<pre><code>        function clear_programs_div()
    {
        alert("Test");
        $("program_list").empty();
    }
</code></pre>

<p>But it doesn't seem to get rid of the div's. Does this function only remove inner text and not  elements? How come its not removing any of the elements inside? Any advice would help thanks!</p>
