html () gets the html for a dom element. Combining these we can encode a string to html entities. var encoded = $("<div/>").text(str).html ...
確定! 回上一頁