Things You'll Need
- Text editor
Open the document in any text editor.
Replace the links with the pound symbol (#) with the syntax "<a href="#"'>."
Add the "return false" declaration to the statement. The entire link reference would look like:
<a href="a" onClick="callFunction();return false;">Link</a>
Replace "callFunction()" with the name of your function.
Save and close the file.
How to Use the Void Function