• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is # in href declaration?

 
Naveen Morrise
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to the Java script code and can any one explain me what in 'href="#"' means and what it represents.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64717
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is used to reference a named anchor within a page.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is not JavaScript...it is HTML.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic