append div tag Into anchor tag using jquery?
<p>Greeting..</p>

<p>In Browser Html is </p>

<pre><code>&lt;div tabIndex="0" title="People Picker" class="ms-inputuserfield"&gt;Administrator&lt;/div&gt; 
</code></pre>

<p>i want to replacewith look like</p>

<pre><code>&lt;a href='#'&gt; &lt;div tabIndex="0" title="People Picker" class="ms-inputuserfield"&gt;Administrator&lt;/div&gt;&lt;/a&gt;
</code></pre>

<p>i tried to so much for make this. not succeed yet.
plz Help me.</p>

<p>i try by this code :</p>

<pre><code> var list = $("&lt;a href='#' /&gt;");
 $(list).wrapInner($('#maindiv').html())
 $('div.ms-inputuserfield').replaceWith(list);
</code></pre>

<p>i knew that i am going wrong way.its replace by anchor.</p>
