Hi, I develop an app for nettv and I want implements click by pointer, but I don't know how to make.

I use this code but don't work

HTML Code:
<div id="myDiv" onclick="doSomethink()">blabla</div>
Sorry for my english