首页javascriptanchorjQuery HTML Element - 如何从锚点删除工具提示

jQuery HTML Element - 如何从锚点删除工具提示

我们想知道如何从锚点删除工具提示。

<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
  src='http://code.jquery.com/jquery-1.10.1.js'></script>
<script type='text/javascript'>
$(function(){
    $('a.without').attr('title', '');
});
</script>
</head>
<body>
  <a class='without' title='hello' href=''>Link</a>
  <a title='hello' href=''>Has tooltip</a>
</body>
</html>