Escape single quotes in jQuery or JavaScript

后端 未结 4 1613
野性不改
野性不改 2020-12-07 02:20

I want to display the following text for the tag. How do I escape the single quotes for the following?

$(\"#spn_err\").text($(\'#tx         


        
4条回答
提交回复
热议问题