<html:text property="addressVO.mobile" size="30" maxlength="30"/>
怎么在javascript中给它赋值或者拿到它的值
Struts1标签中如何获取HTML控件的值如:<html:textproperty="addressVO.mobile"size="30"maxleng
答案:1 悬赏:80 手机版
解决时间 2021-12-16 02:47
- 提问者网友:时光、暗淡了多少承诺
- 2021-12-15 22:42
最佳答案
- 五星知识达人网友:纵容可爱
- 2021-12-16 00:17
在text里面设置个id
<html:text property="addressVO.mobile" id="aa" size="30" maxlength="30"/>
document.getElementById(“aa”).getAttribute("property")
<html:text property="addressVO.mobile" id="aa" size="30" maxlength="30"/>
document.getElementById(“aa”).getAttribute("property")
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯