UI Tabs Don't Reload Under IE
UI Tabs refresh/load is problematic in windoz IE 7. It refuses to
reload a page. But the same thing works under Firefox. I have tried
everything including using the latest ui.tabs.js (I think 5149, which
BTW does need ui.base.js). Here is a simplified version of what I
have shown in snippets:
...
<head>
...
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1"/>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<script src="jquery-1.2.3.js" type="text/javascript"></script>
<script src="ui.base.js" type="text/javascript"></script>
<script src="ui.tabs.5149.js" type="text/javascript"></script>
...
<script type="text/javascript">
$(function() {
$('#container-1 > ul').tabs();
});
</script>
<script>
function refresh()
{
$("#container-1 > ul").tabs("load", 2);
}
</script>
</head>
The idea here is that the function refresh() is called from within the
3rd
tab (i.e., # 2) to reload itself. Again it works under Firefox but not
under IE.
Any help is appreciated.
Morey