js里怎么获取span里面的值?通过id获span里面的值var x1 = document.getElementById("testid").innerText alert("x1="+x1)var x2 = document.g2023-05-01JavaScript430