私は次のコードを持っています(これはhttp://jsfiddle.net/5dbZx/で見ることができます)。私はjQueryバージョンv1.6.1を実行しています。何らかの理由で、.show()(これもIE8やSafari 5.1ではこれで動作しませんでした) - 私はWin XPと7の両方で試してみました。FireFoxで動作します3.6とIE 9.jQuery.show()はIE 8、Safari 5.1で動作しません
私はいくつかの検索を行いました。実際には.showはIE 8で動作しますが、このコードでは何か他のエラーが発生している必要があります。しかし、私は何がわからない。ありがとう!
<table>
<tr class="form_row">
<td class="required_label" id="Example1">
Example 1:
</td>
<td class="input_field">
<select name="course_type" id="course_type">
<option value="" selected="selected"></option>
<option value="1" onclick="$('#Example2').show();" >choice 1</option>
<option value="2" onclick="$('#Example2').show();" >choice 2</option>
<option value="3" onclick="$('#Example2').show();" >choice 3</option>
<option value="4" onclick="$('#Example2').hide();" >choice 4</option>
</select>
</td>
</tr>
<tr class="form_row" id="Example2" style="display: none;">
<td class="required_label">
Example 2:
</td>
<td class="input_field">
<select name="select_statement" id="select_statement">
<option value=""></option>
<option value="1">Yes</option>
<option value="0">No</option>
</select>
</td>
</tr>
</table>
のOnClickがIE8のhttpにオプションでは動作しません。 ://stackoverflow.com/questions/845848/ie8-simple-alert-is-failing –