<a href="#" onclick="func(); return false;">theLinkText</a>
The return false tells the browser that the action of returning
a reference to a URL should not evaluate. It will instead, return
false and therefore do nothing with the octothorpe (hey, how
often does one get to use that in a sentence?). This even
works in IE...
Senior Drafter (GIS Mapping Technician)
2 weeks ago
0 comments:
Post a Comment