大家好,本人有一行JQuery代碼在IE 7中無法使用。貌似簡單的情況,但到底是哪里出了問題呢?JS: $(window).load(function(){ $("#start").click(function(){ $("#start").hide(); $("#twin_buttons_1").show(); });});HTML:<!-- start of button selection decision tree --> <div class="input-group col-sm-6 col-sm-offset-4"> <button type="button" id="start" class="btn btn-success subscribe_button btn-publish">讓我試試</button></div><div id="selection" class="input-group col-sm-8 col-sm-offset-3"><!-- Twin 1st level buttons --><div id='twin_buttons_1' style='display:none;'> <br> <h2 style='font-weight:bold; color:white'>請選擇一個選項:</h2> <button id='no_magic' class="btn btn-publish">都市生活</button><button id='magic' class="btn btn-publish">都市玄幻</button></div>也加上了bootstrap CSS和JS。網(wǎng)址在www.conglinwang.com
JQuery hide() and show() 在IE 7、8中無法使用
慕碼人8056858
2019-03-22 18:15:52