hi everyone when i try to remove the ui.draggable in the drop function i get the above error .that is only for internet explorer6 but for crhome and firefox it works probably.i have tried a work arround but it still does not works.the error has something to do with the jquery-ui.js file
$(document).ready(function(){
$('input#hint').keyup(function(){
var hint =$('input#hint').val();
if(hint.length>2)
{
getJSON('search',hint);
}
$('#suggestions').live('mousedown',function(){$('.items').draggable();});
$('#selectediris').droppable({
accept:'.items',
over:function(e,ui){$('#selectediris').css({backgroundColor:'red',opacity:0.2});},
out:function(e,ui){$('#selectediris').css({backgroundColor:'white',opacity:1});},
drop:function(e,ui)
{
//$('#selectediris').html('');
$('<div></div>').html(ui.draggable.html()).addClass('dropitems')
.removeClass('items').appendTo('#selectediris');
$('#selectediris').css({backgroundColor:'white',opacity:1})
var dragID=$(ui.draggable).attr('id');
$('#'+dragID).addClass('drag');
}
});
});
});