Jquery remove text from span

后端 未结 3 683
[愿得一人]
[愿得一人] 2021-02-04 15:31

I\'m new to JQuery and really struggling how to perform the query I want.

I\'m using SharePoint, and the when using the External Data Column and set it to required field

3条回答
  •  日久生厌
    2021-02-04 16:02

    var spans = $('.ms-error');
    
    spans.text(''); // clear the text
    spans.hide(); // make them display: none
    spans.remove(); // remove them from the DOM completely
    spans.empty(); // remove all their content
    

提交回复
热议问题