Use your browser’s View Source command to see the code.
Here is a screenshot:
Notice how the a tag has two attributes (properties) with special values:
- Disables normal link behavior
- onclick attribute is alert(‘The Message’);
The source code looks like this:
- Use comments to leave notes about the code
- Use comments to render code inactive, without actually deleting the code
See also [categorySeeAlso slug=”ajax”].