Safari mis-reports the default selected property of a hidden option
// Accessing the parent's selectedIndex property fixes it
elem.parentNode.selectedIndex
alert(elem.value);
safari 错误取得 select 的 value
最新推荐文章于 2019-07-16 09:41:44 发布