Is this a bug with ajax and insertafter

Is this a bug with ajax and insertafter


I was send from the IRC channel to the dev list for this one.
Consider this snippet of code:
$("#day a").toggle(function(){
$("<div>").after(this).load($(this).attr('href'));
}, function () { do something }
OR
$("<div>").load($(this).attr('href')).insertAfter(this);
OR
var $div = $('<div>').insertAfter(this);
$div.load(this.href);
etc...
How it works: you click on a link and after the link there comes a
<div></div> with some small content.
This works perfect in FireFox however in IE6 I get a runtime error on
line 1 char 1
However, this is only in combination with "InsertAfter, after etc..."
and ".load"
If the <div> isn't created on runtime but is already on the page both
browsers don't have this problem.
Is this a bug?
Thanxs Onno