ui.tabs events not working for me

ui.tabs events not working for me


I'm using the latest code (including jQuery-1.2.4b). I can't get
events to work as documented. Is there some trick?
Complicating factors:
1) The page is created on the fly. I don't think that should matter,
though.
2) I'm not using flora. Instead, I'm using that older pretty blue
gradient.
Things that do work:
1) I can set the tab that starts selected
2) The tabs work just fine in all other ways.
Here's the code:
                        $('#container-1 > ul').tabs({selected:0},{
                            select: function(ui) {
                                console.log('select');
                            },
                            show: function(ui) {
                                alert('show');
                            }});
I get no console logs and no alerts.
Is that the current and proper way to set up tab events?