[jQuery] Attaching custom variables to an event trigger?

[jQuery] Attaching custom variables to an event trigger?


How would I go about attaching custom variables to a trigger method so
that they're available to the bind call being referenced? Given the
following code:
$(function(){
    $(document).bind('birthday', function(event,data) {
        alert(data.length);
    });
    function birthdays() {
        var bDayList= ['noelle','jaime']; //[{name: 'andy'},{name:
'jaime'}];
        $(document).trigger('birthday',myArr);
    }
    birthdays();
});
I want the bDayList array (or string, or object, or date...any
variable I want) to exist in the bind method so that I can access it.
How do I do that, or is it even possible?
I need some help with this one folks...the docs seem to indicate that
you can do this...I'm sure that I'm just doing it wrong:
http://docs.jquery.com/Events/trigger
Arguments:
type String
An event type to trigger.
data (Optional) Array
Additional data to pass as arguments (after the event object) to the
event handler.