Try this: .toggle( function() { myFunction(this, parameters...); } )
And you should define myFunction somewhere else. On 1 сент, 14:28, Andy Matthews <[EMAIL PROTECTED]> wrote: > Is there a way to pass arguments from one anonymous function, (in > either Toggle, or Hover) to the second? Ideally I'd like to be able to > pass in whatever variables I choose, but I'd settle for being able to > pass in $(this), the item that triggered the event.