close

原因是這張票:http://bugs.jquery.com/ticket/7341

底下有人寫到:

We are also stuck with 1.4.2 because of this checkSibling() IE problem. We have a page with 1.4.3+, UI 1.8.11, and a dialog with a large multiple select (hundreds of options). If you click on an option, IE 7/8 freezes in endless JS calls to checkSibling(). Please re-open, many users will be stuck with 1.4.2 until it is fixed.

在 select 選單中如果有大量的元素就會導致 IE 停止處理 JS,這個情況在 PIXNET 裡也有發生。

然而這張票目前被 John Resig 標示為 Wontfix:

We're not planning on moving back to using sourceIndex - sourceIndex was fraught with problems and caused all sorts of compatibility issues. While this particular technique is slower it's also correct - which is important.

簡單說現在的做法是為了不使用一個叫 sourceIndex 的 function, 這會導致在 IE 中處理比較慢, 但 John 認為這是一個"正確"的作法。

只是不少人不這麼認為,因為 IE 不能用的話就表示他們得被迫繼續停在版本 1.4.2

1.5.2  的現在這個問題依舊未解,我想這還有得吵。

arrow
arrow
    全站熱搜

    沒力小僧 發表在 痞客邦 留言(0) 人氣()