$(document).ready(function() {
    $(document).on('submit', '.comment_form', function(e) {
        e.preventDefault();
        
        var form = $(this);
        var url = form.attr('action');
        $.ajax({
            url: url,
            method: 'POST',
            data: form.serialize()
        }).done(function( data ) {
            $('.comments-list').html(data);
            // alert('<%= value %>');
            var tpl = '<h3>Bạn đã đăng bình luận thành công</h3>';
            $.jGrowl(tpl, {
                life: 4000,
                header: 'Thành công',
                speed: 'slow',
                theme: 'success'
            });
            
            form.find('input[type=text], select, textarea').val('');
        });
    });
});
@@ -722,16 +722,35 @@
 e=text%5D,
+ input%5Btype=email%5D,
  select,
@@ -793,11 +793,390 @@
    %7D);%0D%0A
+    %0D%0A    $(document).on('click', '.comment-reply-link', function(e) %7B%0D%0A        var box = $(this).parents('.media').find('.reply-box');%0D%0A        box.toggle();%0D%0A        %0D%0A        if (box.is(':visible')) %7B%0D%0A            $(this).html('%3Ci class=%22fa fa-close%22%3E%3C/i%3E H%E1%BB%A7y tr%E1%BA%A3 l%E1%BB%9Di');%0D%0A        %7D else %7B%0D%0A            $(this).html('%3Ci class=%22fa fa-reply%22%3E%3C/i%3E Tr%E1%BA%A3 l%E1%BB%9Di');%0D%0A        %7D%0D%0A    %7D);%0D%0A
 %7D);

comment js update