<script type="text/javascript">
$(".commentPost").live('click',function() {
var expressID = $(this).attr('id');
var comment = $("#getComment"+expressID).attr('value');
//If comment contains & then how to pass it in URL??
$.get('../addons/comment.jsp?comment='+comment+'&expressID='+expressID, function(data) {
$('#commentBlock'+expressID).append(data);
$("#getComment"+expressID).attr('value','');
});
});
</script>
Просьба сообщить мне, как пройти &
в виде текста по URL. И как его заменить, используя jQuery.Pass & as текст в URL?
«как тест по URL»? –
Извините, его текст ... –