for netscape/opera/all other standard compliant browsers!
<html>
<head>
<title></title>
<script type="text/javascript">
function add() {
var obj=document.links["test"];
obj.addEventListener("click", function(e) {alert('you need to
save');e.preventDefault()}, false);
}
</script>
</head>
<body onload="add()">
Test Page<br>
<a href="http://www.yahoo.com" id="test" name="test">Yahoo</a>
</body>
</html>
for full details see:
http://www.experts-exchange.com/Web/Browser_Issues/Q_20742218.html
(you will need to create a free account and log in)
Just an editorial: a significant population does not use i.e. It is best to be
standards compliant, and add the necessary "ie hacks" when necessary. If ie
would just be standards compliant, life would be much easier for us web
developers!
for netscape/opera/all other standard compliant browsers!
<html> <head> <title></title> <script type="text/javascript"> function add() { var obj=document.links["test"]; obj.addEventListener("click", function(e) {alert('you need to save');e.preventDefault()}, false); } </script>
</head>
<body onload="add()"> Test Page<br> <a href="http://www.yahoo.com" id="test" name="test">Yahoo</a> </body> </html>
for full details see: http://www.experts-exchange.com/Web/Browser_Issues/Q_20742218.html (you will need to create a free account and log in)
Just an editorial: a significant population does not use i.e. It is best to be standards compliant, and add the necessary "ie hacks" when necessary. If ie would just be standards compliant, life would be much easier for us web developers!