js报错 :有详细错误提示


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报错

jquery node.js JavaScript

蓮淩 10 years, 1 month ago

这错误提示不都说清楚了么, <input type="hidden"> 不支持 selection 特性

July20 answered 10 years, 1 month ago

I made the same mistake.
I forgot get the hidden value.
I think u just wanner get the value,but forgot use val() method.

油库里九号 answered 10 years, 1 month ago

Your Answer