Pass & as text in URL?
<pre><code>&lt;script type="text/javascript"&gt;
    $(".commentPost").live('click',function() {
        var expressID = $(this).attr('id');
        var comment = $("#getComment"+expressID).attr('value');

        //If comment contains &amp; then how to pass it in URL??
        $.get('../addons/comment.jsp?comment='+comment+'&amp;expressID='+expressID, function(data) {
            $('#commentBlock'+expressID).append(data);
            $("#getComment"+expressID).attr('value','');
        });
    });
&lt;/script&gt;
</code></pre>

<p>Please tell me how to pass <code>&amp;</code> as text in URL. And how to replace it using jQuery.</p>
