Tag: 隐藏的

jquery选择器无法从隐藏字段读取

( 答案汇总到另一个问题 ) 以下jquery 1.3.2代码有效: console.log( $(‘#ixd’) ); console.log( $(“input[name=’ixd’]”) ); 控制台显示: [输入#ixd 236434] [输入#ixd 236434] 但是,将输入设置为“隐藏”会阻止选择器工作。 有什么线索吗? console.log( $(‘#ixd’) ); console.log( $(“input[name=’ixd’]”) ); 控制台显示: [] []