Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OnMouseOver in Ajax

 
siva sankar
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
Regards,
Siva
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Remove the listener after the first invocation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic