jquery error popup relative
on click i w开发者_如何学Goant an error msg to popup next to wherever the click occurs. how do i specify the div coordinates?
They'll be two parameters (pageX, pageY) on the event object passed into your mouse event. See these tutorials for examples.
精彩评论