开发者

How to make HTML page steady on all browsers?

I need my HTML page to be steady whenever I click a link or a button. What should I do? I have tried one thing which is written below:

<a href="#" onclick="showTable();" ret开发者_JAVA百科urn false;></a>

The above code is not working for all links, it is only working for the first anchor tag. What should I use instead of these?


The return false has to be inside the onclick to block the link's default action from executing.

<a href="#" onclick="showTable(); return false;"></a>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜