Posted By

omerta83 on 07/08/10


Tagged

javascript jquery


Versions (?)

How to group functions in jQuery


 / Published in: JavaScript
 

  1. jQuery('#foo').bind({
  2. click: function() {
  3. // do something
  4. },
  5. mouseover: function() {
  6. // do something
  7. },
  8. mouseout: function() {
  9. // do something
  10. }
  11. })
  12.  

Report this snippet  

You need to login to post a comment.