Matching jquery .text() to  

前端 未结 2 1330
不思量自难忘°
不思量自难忘° 2021-02-07 08:34

Due to circumstances out of my control, SharePoint, I have the following piece of code.

var item = $(\' <         


        
2条回答
  •  悲哀的现实
    2021-02-07 09:20

    Compare it to  , as that is the content you want to match. It appears not to be that because the browser renders is as space, rather than characters. Comparing it to   should result in either two sets of  s being compared, or two identical spaces being compared.

提交回复
热议问题