Tuesday, December 29, 2009

[jQuery] JQuery 1.3.2 / JQuery-UI 1.7.2 Ajax Tabs - JavaScript not executing on Safari 4.0.4 Mac / IE 8 XP

I'm using JQuery-UI Tabs. When it loads my page in Ajax mode, the
JavaScript that I've got at the end of the page doesn't seem to
execute in either IE or Safari. $(function () { ...}) or just
console.log("...");

Any ideas?

None of the console.log's get executed either. But I get all the
HTML.

Les

The setup in the main file is:

$(function() {
$("#tabs").tabs(
{
cache: false,
ajaxOptions:{cache:false},
show: function(event, ui) { newIslandList();}
});
$.ajaxSetup({cache: false});
$("li").show();
});

The included code:...

<script type="application/javascript">
console.log("algae #2...");
$(function ()
{
console.log("algae...");
$("#algae_bt").click(function(e)
{
$('#algae_results').load("algae.php","req=results&"+$
('#algae_fm').serialize());
return false;
});
};
</script>

No comments: