wood burning stoves
The moose likes HTML, CSS and JavaScript and the fly likes OnMouseOver in Ajax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "OnMouseOver in Ajax" Watch "OnMouseOver in Ajax" New topic

OnMouseOver in Ajax

siva sankar
Ranch Hand

Joined: Jul 13, 2006
Posts: 68
i am having a jsp page which diplays details of 100 users from the database.whenever a mouseover event is fired on the username in the jsp ,it has to show the address of the user.the address of the user has to be retreived from the database.i used ajax to meet this requirement.But the ajax call is called continuously when the mouse(cursor) is placed on the username.I want the ajaxcall to be called only once when a mouseover event is fired.Please let me know the solution on meeting this requirement.

Thanks in Advance,
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

Remove the listener after the first invocation.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: OnMouseOver in Ajax
It's not a secret anymore!