Hi folks,
Up until I updated to jquery-ui-1.8.10 (already using jQuery 1.5), the following code has worked as (I) expected:
function doStuff(ej,pk) { $.get("scripts/ajax_traffic.asp?id=dostuff&opt="+ej+"&opt2="+pk+"&q=" + new Date().getTime(), function(responseText){$('#tab1').html(responseText).fadeIn(500, function() {
... do other stuff ...
});$("#prolearn").tabs("select",1);});
};
The tab is fueled and then focus is moved from tab0 (from where the ajax call is initiated) to tab1.
Now, that code doesn't work - tab1 is fuelled, but we don't move from tab0 to tab1. However, this version of the original does:
function doStuff(ej,pk) {$.get("scripts/ajax_traffic.asp?id=dostuff&opt="+ej+"&opt2="+pk+"&q=" + new Date().getTime(), function(responseText){ $("#prolearn").tabs("select",1); $('#tab1').html(responseText).fadeIn(500, function() { ... do other stuff ... }); });};