怎么在javascript中获取下面代码的值
<span id="totalmoney"><bean:write name="csp" property="cart.totalmoney" filter="true"/> --------------------编程问答-------------------- document.getElementById("totalmoney").innerText;
补充:Java , Web 开发
<span id="totalmoney"><bean:write name="csp" property="cart.totalmoney" filter="true"/> --------------------编程问答-------------------- document.getElementById("totalmoney").innerText;
补充:Java , Web 开发