Need Pure/jQuery Javascript Solution For Cleaning Word HTML From Text Area

后端 未结 5 1413
慢半拍i
慢半拍i 2021-01-01 08:24

I know this issue has been touched on here but I have not found a viable solution for my situation yet, so I\'d like to but the brain trust back to work and see what can be

5条回答
  •  自闭症患者
    2021-01-01 08:39

    It might be useful to use the blur event which would be triggered less often:

    $("textarea").blur(function() {
        // check input ($(this).val()) for validity here
    });
    

提交回复
热议问题