Hi! How can I detect the mouse position on a "onclick" event in RichFaces? Thanks!
+2
A:
You can use the <rich:jQuery>
component.
<rich:jQuery selector="#myButtonId" query="click(function(event) {alert("Mouse Position: " + event.pageX + ", " + event.pageY );})" />
Regards.
StudiousJoseph
2010-08-02 23:06:02