How to replace this html using jquery?
<p>I have this html.</p>

<pre><code>&lt;div&gt;
  &lt;input type="password" id="user_password" name="user_password"
         class="password"&gt;

  &lt;div class="passwordstrength s_1" style="display: block;"&gt;bad&lt;/div&gt;

  &lt;input type="password" id="user_password_confirm"
         name="user_password_confirm" class="password"
         style="display: inline-block;"&gt;
&lt;/div&gt;
</code></pre>

<p>i want to reset and replace it back to</p>

<pre><code>&lt;div&gt;
  &lt;input type="password" id="user_password" name="user_password"
         class="password"&gt;

  &lt;div class="passwordstrength" style="display: none;"&gt;&lt;/div&gt;

  &lt;input type="password" id="user_password_confirm"
         name="user_password_confirm" class="password"
         style="display: none;"&gt;
&lt;/div&gt;
</code></pre>

<p>how do i do this using jQuery?</p>
