In Onselect event I have script:
$(\"#vinanghinguyen_images_bbocde\").val(\'\');
$(\"#vinanghinguyen_images_bbocde\").val(vinanghinguyen_final_bbcode);
I agree with @Jakub Arnold's answer. The problem should be somewhere else. I could not figure out the problem but found a work around.
Wrap your concerned element with a parent element and cause its html to create a new element with the id you are concerned with. See below
'onSelect' : function(event,ID,fileObj) {
$("#theParent").html("");
$("#vinanghinguyen_result").hide();
$(".uploadifyQueue").height(315);
}