﻿
function GetQuestionView(id) {
    $.ajax({
        type: "GET",
        url: "/Resources/Services/GetQuestionView.ashx",
        dataType: "html",
        data: "QuestionID=" + id,
        beforeSend: function() {
            $("#" + id).append("loading");
            $(this).html("loading");
        },
        success: function(res) {
            $("#" + id).html();
            $("#" + id).html(res);
        },
        error: function() {
            $("#" + id).html("Load Error");
        }
    });
}

