If I'm triggering a JS function with a link, I would normally write it like this:
<a href="#" id="doSomething">hit me</a>
And then my code would be something comparable to this:
I'm working on some code that has this:
se Cannon Fitness</a>
, I get this definition:
It SOUNDS like it's doing something like "#," but maybe a little more?
What does it mean and why would I want to use it as opposed to "#?" I'm thinking the bottom line is to tell the system to basically ignore the normal protocol. "I'm telling my link, Yes,you're normally a link, but, in this instance you're triggering some JS." That's what I'm doing with the "#" character, yes?