아래의 내 .html 코드 파일은 클릭 기능을 전혀로드하지 않는 것 같습니다.
나는 이것에 처음 왔는데, 이것에 대한 어떤 도움이 좋을 것이다 !!
<html>
<body>
<h1> hello </h1>
<audio id="audio">
<source src="http://dl.dropbox.com/u/1538714/article_resources/song.ogg" type="audio/aac">
</audio>
<script type="text/javascript">
function dosomething(){
$('body').append('document click<br />');
document.getElementById('audio').play();};
$(document).on('click', function(){dosomething()});
</script>
</body>
</html>
대답 아래, 당신은 완벽하게 작동 jQuery 라이브러리 –