开发者

richfaces how to detect mouse position

开发者 https://www.devze.com 2023-01-10 10:55 出处:网络
How can I dete开发者_如何学Cct the mouse position on a \"onclick\" event in RichFaces? Thanks!You can use the <rich:jQuery> component.

How can I dete开发者_如何学Cct the mouse position on a "onclick" event in RichFaces? Thanks!


You can use the <rich:jQuery> component.

<rich:jQuery selector="#myButtonId" query="click(function(event) {alert("Mouse Position: " + event.pageX + ", " + event.pageY );})" />

Regards.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号