jquery提示錯誤javascript
Uncaught InvalidStateError: Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('hidden') does not support selection.
接鍋俠,發現點擊按鈕沒反應,又在支付寶裏面調試頁面,用spy-debug調試不了。java
最後只能用vconsle,發現裏面的功能也點擊不了。但還能看出報什麼錯。jquery
最後發現,代碼裏面有個地方少寫了。express
原代碼: $("body").find(".expressSelect2 option"); 改後的代碼: $("body").find(".expressSelect2 option").val();
但仍是跟select 有關。由於獲取的是select的值 debug