jQuery text() call preserves newlines in Firefox but not in IE

后端 未结 3 846
梦毁少年i
梦毁少年i 2020-12-01 19:02

I\'m doing:

alert($(\"#div\").text());

on something like this:

<div> Some text <
3条回答
提交回复
热议问题