IE getScript problem
IE getScript problem
Hey!
I'm having a really annoying problem, the sample code below is working fine with Firefox and Chrome but IE doesn't seem to run it:
$('#button1').click(function()
{
$("head").append($('<link type="text/css" rel="stylesheet" href="page1.css">'));
$.getScript('page1script1.js');
$.getScript('page1script2.js');
...
});
$('#button2').click(function()
{
$.getScript('page2script1.js');
...
});
$('#Buttons li a').click(function()
{
var info = $(this).attr('href')+' #Content';
$('#Content').load(info,' ',function showNewContent(){
... some effects
}
return false;
});
I really need to put this to work 'cause the site must come out soon.
God damn it this stupid cross-browser errors!
Thanks for your help and patience! 