Clear text area

后端 未结 11 1525
终归单人心
终归单人心 2020-12-01 06:04

In Onselect event I have script:

$(\"#vinanghinguyen_images_bbocde\").val(\'\');
$(\"#vinanghinguyen_images_bbocde\").val(vinanghinguyen_final_bbcode);
         


        
11条回答
  •  情深已故
    2020-12-01 06:31

    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); }

提交回复
热议问题