I've seen some code like the following.

Code:
<a href="javascript:;" title="PDF">PDF</a>
When I click it if will pop up a div (by changing its style from "display: none;" to "display: block;" through the modification css attributes).

This look weird to me, as I don't how an empty javascript statement can cause changes to the webpage. Does anybody have any clue how it can happen? Thanks!