<head>
<script type="text/javascript">
window.onload = function () {
document.getElementById('link').onclick = Info;
}
function Info() {
alert(window.event.type);
alert(this.getAttribute('title'));
}
</script>
</head>
<body>
<a href="#" id="link" title="Miasto Warszawa, Lublin, Chełm, Zamość">zobacz miasta z title linku</a>
</body>
5 wrz 2008