How do I escape special characters in jquery
<p>I'm using the get element by class function  <code>$(".classname")</code> but it doesn't work when the class name has a space, plus sign, slash in it (I can't change the class names)</p>

<pre><code>var summaryLEVEL5 = $(".LEVEL 5");
    var summaryLEVEL5Total = 0;
    for (i=0; i &lt; summaryLEVEL5.length; i++){
        summaryLEVEL5Total = summaryLEVEL5Total + parseInt(summaryLEVEL5[i].innerHTML);
    }

    var columnLEVEL5CapGroup = $(".LEVEL 5CapGroup");
    columnLEVEL5CapGroup[columnLEVEL5CapGroup.length - 1].innerHTML = summaryLEVEL5Total;
</code></pre>

<p>the function above is what i am using. it seems to work for all the othe classnames but not ones with a space like between'level' and '5'</p>

<p>how can I escape space,plsu sign, forward slash?</p>
