﻿
    function GetType(type, val, span) {
        $.ajax({
            url: "ajax/ProductClass.aspx",
            data: "type=" + type + "&pid=" + val,
            type: "post",
            error: function(msg) {
                alert(msg);
            },
            success: function(str) {
                $("#" + span).html(str);
            }
        });
    }


