<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>2018个人所得税计算器</title>
<script type="text/javascript">
function calc(){
var totalIncome=parseFloat(document.getElementById('txtIncome').value);
var Insure=parseFloat(document.getElementById('txtInsure').value);
var BaseLine=parseFloat(document.getElementById('txtBaseLine').value);
var taxIncome=totalIncome-Insure-BaseLine;
var realTax=0;
var taxableIncome;
if(taxIncome<=0){
taxableIncome=0;//应税所得额不能为负数
}else{
taxableIncome=taxIncome;
}
if(taxIn
求助大神:用jQuery改写计算个税的js程序
最新推荐文章于 2023-05-30 16:09:53 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)