Good evening, I am creating a project what have to append a script created inside the server, runs beautiful in Opera, FF, and others but in IE doesn't make anything. The script inside it's a alert with the message "Welcome", this is the code to append the script inside the explorer:

$.post(document.location, { md:mdlnm, bt: btnm, scr: scrnm},
$('#header_hd').load("#"+args[0], function(){
execfnc(scrnm, args);//Here executes the scripts.
This function take the script and append to the head in the document.

Any ideas what's happening, will be happily welcome.