jQuery replace text of element
<p>Hi 
I am trying to replace a div in a jQuery dropdown box. The value to be replaced is the "header" of the dropdown box that says "Pick alternative:" when nothing is picked. Then when the user chooses an alternative from the dropdown, that alternative gets highlighted and also replaces "Pick alternative:" so that the user can see what they chose when closing the dropdown.</p>

<p>How would I do this?
The HTML:</p>

<pre><code>    &lt;div class="step_content"&gt;
        &lt;div class="vertical_text"&gt;Choose alternative&lt;/div&gt;
        &lt;div class="vertical_content dropdown_fade"&gt;
            &lt;div class="menu_corner top_left_vertical"&gt;&lt;/div&gt;
            &lt;div class="menu_corner top_right_vertical"&gt;&lt;/div&gt;                                                                      
            &lt;div class="button_slide" rel="slide1"&gt;Pick alternative:&lt;/div&gt;
            &lt;div class="content_slide slide1"&gt;
                &lt;input id="Button19" class="button_vertical damage_button" type="button" value="Alternative 1" size="10px" /&gt;
                &lt;input id="Button20" class="button_vertical damage_button" type="button" value="Alternative 2" /&gt;  

            &lt;/div&gt;                                            
            &lt;div class="menu_corner bottom_left_vertical"&gt;&lt;/div&gt;
            &lt;div class="menu_corner bottom_right_vertical"&gt;&lt;/div&gt;                   
        &lt;/div&gt;                
    &lt;/div&gt;             
</code></pre>

<p>I have the following lines of javaScript. I'm not sure how to continue doing this.</p>

<pre><code>$(function () {
        $('.damage_button').click(function () {
            $('.button_slide').replaceWith("&lt;div class='some_class' &gt;" + $(this) + "&lt;/div&gt;");
        });
});
</code></pre>

<p>I get it to replace what I want to be replaced but it just shows "[Object object]".
Thanks for reading!</p>

<p>*<em>bold</em>*Edit: Can someone please vote this question up one more time so I can start upvoting your answers? I feel you deserve the kudos!</p>
