//H5的矿建
<!DOCTYPE html>
<html><head>
<meta charset="UTF-8">
<title>计算器</title>
<script>
var one="";
var two=0;
var frist="";
function Update(num){
var vc=num.innerText;
one=one+vc;
document.getElementById("receive").value=one;
}
function Jjcc(sym){
var sign=sym.innerText;
if(one==""){
return null;
}else if(sign=="+"){
two=1;
}else if(sign=="-"){
two=2;
}else if(sign=="*"){
two=3;
}else if(sign=="/"){
two=4;
}else {
two=5;
}
//忽略该字符以及之后