我有一条航道,例如:......
<ul>
<li><a href="page.html" id="hyperlink1">Link</a>
<ul>
<li><a href="link.html">Link</a></li>
<li><a href="link.html">Link</a></li>
<li><a href="link.html">Link</a></li>
</ul>
</li>
</ul>
我愿使母子与id Sylink1脱钩。
Ive在 jQuery试图这样做,具体如下:
$("a#HyperLink1").click(function() { return false; });
only it seems to disable all the child links too, has anybody a better solution?