javascript - href value for null links -
this question has answer here:
if i'm using <a>
tag click event trigger ajax call, , don't want link physically go anywhere, correct value href
attribute?
is '#' or leave empty?
(i understand accessibility issues brings).
better #
because browsers won't render <a>
empty href
(for example google chrome render anchor plain text).
Comments
Post a Comment