I have set up jq tabs and they were working okay. Now, for some reason, the display panes not related to the selected tab, but previously selected, are showing along with the current one.

$(function() {
$('#container ul').tabs();
$(function(e) { $('.ui-tabs-hide').$(this).css("display","none");

I am using old jq 1.2.3. Can anyone suggest a solution that won't necessitate a big rethink ?