Clear text area

后端 未结 11 1543
终归单人心
终归单人心 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:38

    When you do $("#vinanghinguyen_images_bbocde").val('');, it removes all the content of the textarea, so if that's not what is happening, the problem is probably somewhere else.

    It might help if you post a little bit larger portion of your code, since the example you provided works.

提交回复
热议问题