<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...
City of Santa Rosa - Student Internship - GIS
8 years ago
No comments:
Post a Comment