JS 怎样获取 script标签中的内容

2025-03-26 07:48:43
推荐回答(1个)
回答1:

var str = $("#xx").text();
var str = $("#xx").html();
都行