Web 2.0 get mouse coordinates

In Web 2.0 I need to get the Y mouse coordinate to position a webtextfield over a Weblistbox.
I appears that Web 2.0 does not have anything related to mouse coords. So maybe someone knows some Javascript magic that will work. I don’t know javascript or even where to put it in my code. Please help.