你如何转换onclick事件,以便他们在iPad上工作?

时间:2015-09-25 11:24:54

标签: javascript ios

以下是需要转换的内容:

是否

            function calculateTotal() {
                //Here we get the total points by calling our functions
                var totPoints = 0+get_r1()+get_r2()+get_r3();

                //display the result
                var divobj = document.getElementById('totalPoints');
                divobj.style.display='block';
                divobj.innerHTML = "Total: "+totPoints;                         
            }

0 个答案:

没有答案