View Full Version : Move Mouse-pointer dynamically with JavaScript?

07-30-2002, 10:03 PM
I'm working on a web application that deals with Purchase Orders. On the PO Detail Screen(many line-items) if user inputs a line#, I need to highlight that table-row(specific line#), easily taken care of by: row_id.style.backgroundColor=xxx. But I also need to hover the Mouse-Pointer over that row(line#). I'm not sure how to achieve this, or even if it's all feasible? If I simply fireEvent("mouseover"), the Pointer still won't be physically moved there. I did find in MSDN:
x = event.srcElement.clientX;
y = event.srcElement.clientY;
to actually set the location of the Mouse. Has anyone performed such function in JavaScript? or had a better idea? Please help, THANKS A LOT!! daniel

07-30-2002, 10:22 PM
You can't move the mouse pointer with Javascript.