javascript href=’#’ 页面不滚动

<a href=”#” onclick=”function();return false;” ></a>

This entry was posted in tip, 页面设计 and tagged . Bookmark the permalink.

2 Responses to javascript href=’#’ 页面不滚动

  1. chenchen says:

    void()

  2. bnlt says:

    今天刚发现,在href中使用javascript:void(0)在IE6下会挂哦…

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">