Safari mis-reporting the default selected property of a hidden option

Safari mis-reporting the default selected property of a hidden option


Line 1061 of jquery-1.2.6.js causes an error on Windows version of
Safari 3.1.2 (525.21). Safari claims that "value is null".
Quick fix: change the if statement on 1060 to be:
if ( name == "selected" && jQuery.browser.safari && elem.parentNode &&
elem.parentNode.selectedIndex)
instead of
if ( name == "selected" && jQuery.browser.safari)