Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Event handling

 
paramu vinayagam
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi , now i am had ten text box. in first text box used onmouseover and onmouseout, i want to add this event to all remaining text box how? without call every time into text box...

[Edit: code tags removed. Please be sure to use code tags for code, not text.]
[ December 10, 2008: Message edited by: Bear Bibeault ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well you are going to have to add the events to the textbox.

You can either do it by adding it to the HTML markup. <--BAD
You can add it with JavaScript



Eric
 
paramu vinayagam
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
paramu vinayagam
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sir,

could you please tell me how to post my questions... i saw the format but could not understand that so give examples...



Regards,


----------
paramu...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic