Uncaught InvalidStateError: Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('hidden') does not support selection.
谁遇到过这样的问题,一个页面有5个 input type=”hidden“ jquery报错
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
I made the same mistake.
I forgot get the hidden value.
I think u just wanner get the value,but forgot use val() method.
这错误提示不都说清楚了么,
<input type="hidden">不支持selection特性var projectInnerId = document.getElementById("projectInnerId").value;