I simply want some tabbing functionality on a facebook application (business) tabs
I have some basic HTML and JS [fbjs], this doesn't seem to work I have no clue whats wrong.
<div id="foo">foo div</div>
<script><!--
function changeText(evt){
evt.target.style.display = "none";
}
var foo = document.getElementById('foo');
foo.addEventListener('click',changeText);
//--> </script>
What am i missing?