Problems with insertAfter
Hi!
After updateing my jQuery from 1.1.3 to Version 1.1.4 I#m getting this
error:
this.parentNode has no properties
http://xxx/jquery.js
Line 204
The part where I'm using the insertAfter-Command are this lines of
code:
function addWidget_success(_data)
{
var data = eval('('+ _data +')');
$('#'+ data.region)
.append('<div id="widgetTempAdder"></div>')
.find('#widgetTempAdder')
.append(data.content);
$('#'+ data.block_id)
.hide()
.insertAfter('#widgetTempAdder', function() {
$('#'+ data.block_id)
.corner()
.fadeIn('slow', function() {
$('#'+ data.region).SortableAddItem( $('#'+ data.block_id)
[0] );
});
});
}
I hope somebody can help me with this issue. I'm wondering why it
works with Version 1.1.3. Is there any difference in v 1.1.4 with
using insertAfter?
Thanks a lot,
Alex