开发者

-- Adding a keydown event to a HTMLUListElement

I have a unordered list of开发者_如何转开发 items. When it prints to the console, it shows up as a "HTMLUListElement". Can I register jquery's keydown event to this element of the page? Right now it's seems? to be working as if I keep that function in there, the page eventually will crash (Chrome says it's unresponsive).


According to w3school's pages for <ul> and <li>, the keydown event should work for lists. However, I have no personal experience using this event in lists.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜