why is this jquery text toggle not working?
<p>Ok not sure whats going on the code does toggle class, but when you click it again it is well seen that the class is removed however the text remains the same "Locked..." and is not changed back to the original.</p>

<p>Here is the jQuery code</p>

<pre><code>$("#sprv").click(function() {
                 $(this).toggleClass('btn_active');

                 $(".prv").text("Make private?");

                 }, function(){

                 $(this).toggleClass('btn_active');

                 $(".prv").text("Locked...");
});

&lt;span class="prv"&gt;Make private?&lt;/span&gt;
</code></pre>

<p>Can some one tell me what I am doing wrong and how to fix this. Thanks in advance</p>
