ajax requests and dom events

ajax requests and dom events


hello i was just wondering what the best way for events to work on a
panel after an ajax call has been made to get the panel.
My current panel code is http://pastebin.com/d3e42f9d8
Everything of this code works except for
$('#tabpane > ul').tabs({
show: function(){
alert('test')
}
});
The show: part, although the tabs are still created.