日期:2014-05-16 浏览次数:20494 次
function touch_audio(){
var touch = document.getElementById('touch_record');
touch.addEventListener('touchstart',
function(){setTimeout("RecordAudio()",100);},false);
touch.addEventListener('touchend',endRecord,false);
}
<body onload="touch_audio();">