App下載
首頁javascriptanchorjQuery HTML Element - 如何靜音音頻...

jQuery HTML Element - 如何靜音音頻...

我們想知道如何靜音音頻。...

<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
  src='http://code.jquery.com/jquery-1.8.3.js'></script>
<script type='text/javascript'>
$(window).load(function(){
    $("a").click(function() {
        return false;
    });
    $(".toolbar a").click(function() {
        console.log("Do something");
    });
});
</script>
</head>
<body>
  <a href="http://m.hgci.cn">Test</a>
  <div class="toolbar">
    <a href="#test2">Test 2</a>
  </div>
</body>
</html>