Селектор jquery не может читать из скрытого поля
(ответы объединены в другой вопрос)
Работает следующий код jquery 1.3.2:
<input type="select" value="236434" id="ixd" name='ixd' />
<script>
console.log( $('#ixd') );
console.log( $("input[name='ixd']") );
</script>
Консоль показывает:
[input # ixd 236434]
[input # ixd 236434]
Однако установка входа в «скрытый» мешает работе селекторов. Есть какие-нибудь подсказки?
<input type="hidden" value="236434" id="ixd" name='ixd' />
<script>
console.log( $('#ixd') );
console.log( $("input[name='ixd']") );
</script>
Консоль показывает:
[]
[]