用js如何得到隐藏域的值

2025-05-19 02:09:11
推荐回答(1个)
回答1:

直接通过id来获取



//js 这样写
var hideIpt  = document.getElementById('hideIpt');
alert(hideIpt.value)