I want to use javascript in my facebook application, but I don't know how to start with FBJS to use it. Someone help me please! just something like
<div onclick="greeting();">click me</div>
<script>
function greeting(){
alert("hello world");
}
</script>