0 500 5 0 500 2000 10 25 2000 5000 15 125 5000 20000 20 375 20000 40000 25 1375 40000 60000 30 3375 60000 80000 35 6375 80000 100000 40 10375 100000 99999999 45 15375
function StandardTaxRate(){ $.ajax({ url: "/Resource/salaryTaxRate.xml", dataType: 'xml', type: 'GET', timeout: 2000, error: function(xml) { alert("加载XML 文件出错!"); }, success: function(xml) { $(xml).find("taxrate").each(function(i) { var oid = $(this).attr("id"); var lower = $(this).children("lower").text(); var upper = $(this).children("upper").text(); var rate = $(this).children("rate").text(); var buckle = $(this).children("buckle").text(); ///后续操作。。。 }); } });}