toggle information on and off, pulling from separate file
<p>I'm writing code that will, when a button is clicked, display some simple text (a changes log), and then when clicked again will hide it.</p>

<p>The trick here is that I'd like to keep that change log in a separate file, and call it for display.  I've got code like follows:</p>

<pre><code>    echo "&lt;input type=\"button\" id=\"recentchanges\" value=\"Show/Hide Recent Changes\" /&gt;&lt;/br&gt;&lt;span id=\"changestext\"&gt;&lt;/span&gt;";
</code></pre>

<p>And:</p>

<pre><code>$('#recentchanges').click(function() {

    $('#changestext').append(test/recentchanges.txt);

});
</code></pre>

<p>So my questions are.  1.  How can I hide/show by clicks?  It doesn't look like .toggle() is what I want.. but perhaps it is..    And 2. How can I call data from a separate file? (and as part of that question, should it be a txt file or an html file?  Should I have the text formatted with html, or just raw text?)</p>
