escaping a variable in jquery
<p>I have a function like this... I am trying to insert a class name using a variable <code>gotValue</code>.  How do I pass it in jQuery?  I have tried that in if clause, but it did not work. </p>

<pre><code>function fullData(gotValue)
{
    alert(gotValue);
    var count = gotvalue.substring(9);
    if($('.'+gotValue+'').is(':checked'))
    {
        alert('working');
    }
}
</code></pre>
