javascript - href value for null links -


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

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -