remove class - jquery
<p>I want to remove this class on checkbox toggle.</p>

<pre><code>$("#checkbox").toggle(function () {
    var it0 = $('#IT0').text();
    var ip1 = $('#sv1').text();

    var TC = "&lt;div class='" + ip1 + "' id='" + it0 + "'&gt;&lt;input type='text' name='test' value='" + ip1 + "'&gt;&lt;/div&gt;";

    $('#selected').html(TC);
}, function () {
    var it0 = $('#IT0').text();
    var ip1 = $('#sv1').text();
    $("#" + it0).removeClass("." + ip1);
});
</code></pre>

<p>I am not sure why the remove class is not working on <code>"&lt;div class='"+ip1+"' id='"+it0+"'&gt;</code></p>
