1. <a href="javascript:doSomething()">...</a>
2. <a href="#" onclick="doSomething(); return false">...</a>
When using Microsoft HTA, however, only the second approach works. The first one will pop up a new window when the link is clicked, even under IE7.
No comments:
Post a Comment