Here is a workaround for the tab key in Opera
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Testing events on TEXTAREA’s</title>
<script type="text/javascript">
<!-- begin hiding
function handleBlur(e) {
if (this.lastKey == 9)
this.focus();
}
function handleKeyDown(e) {
this.lastKey = e.keyCode;
}
function handleFocus(e) {
this.lastKey = null;
}
window.onload = function() {
var elm = document.getElementById('myTextarea');
elm.onfocus = handleFocus;
elm.onblur = handleBlur;
elm.onkeydown = handleKeyDown;
};
// end hiding -->
</script>
</head>
<body>
<textarea cols="60" rows="20" id="myTextarea"></textarea>
<input class="textfield" type="text" size="20">
</body>
</html>