input框设置隐藏属性,或者值为动态时 ,通过id取值
时间:2020-03-04 15:53:11
收藏:0
阅读:106
<input type=‘text‘ id=‘getid‘ style=‘display:none‘ value=‘动态值‘>
取值 var value=$(‘#getid‘).attr(‘value‘)
原文:https://www.cnblogs.com/jxfy/p/12409594.html
评论(0)