﻿
function QAReplayClick(id, type, element) {
    $.ajax({
        url: '/product/ajax/qa3click.aspx',
        data: 'id=' + id + '&type=' + type,
        type: 'GET',
        dataType: 'html',
        timeout: 5000,
        error: function() {
            alert('系统错误');
        },
        success: function(data) {
            document.getElementById(element).innerHTML = data;
        },
        complete: function(XMLHttpRequest) { LoaddingClose(); }
    });
}


function CommentReplayClick(id, type, element) {
    $.ajax({
        url: '/product/ajax/comment3click.aspx',
        data: 'id=' + id + '&type=' + type,
        type: 'GET',
        dataType: 'html',
        timeout: 5000,
        error: function() {
            alert('系统错误');
        },
        success: function(data) {
            document.getElementById(element).innerHTML = data;
        },
        complete: function(XMLHttpRequest) { LoaddingClose(); }
    });
}

