Вот пример кода, который показывает данный баг. Проверено в IE 7, 8.
<form id="form1" name="form1" method="post" action="">
<input type="button" value="toggle disabled" onclick="document.getElementById('button1').disabled = !document.getElementById('button1').disabled;" />
<input type="submit" name="button1" id="button1" value="Submit" />
</form>
<form id="form1" name="form1" method="post" action="">
<input type="button" value="toggle disabled" onclick="document.getElementById('button2').disabled = !document.getElementById('button2').disabled;" />
<input type="hidden" name="button2" id="test_id" />
<input type="submit" name="button2" id="button2" value="Submit" />
</form>
|