how to add multiple css classes to a html element usin javascript
<p>I want to add multiple classes to an html element </p>

<p>I know the following code is possible.</p>

<pre><code>$("ul#List").find("li.template")
            .removeClass("template")
            .addClass("entry")
</code></pre>

<p>But i want to know if the following code is also possible.?</p>

<pre><code>$("ul#List").find("li.template")
            .removeClass("template")
            .addClass("entry1")
                    .addClass("entry2")
</code></pre>
