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报错
这错误提示不都说清楚了么,<input type="hidden">
不支持 selection
特性
I made the same mistake.
I forgot get the hidden value.
I think u just wanner get the value,but forgot use val() method.
var projectInnerId = document.getElementById("projectInnerId").value;