开发者

How can I make a jquery styleBox trigger when focused using tab?

I have some styleBox elements that aren't triggering when I tab through the items. Does the change() also get trig开发者_StackOverflowgered on focus?


From the jQuery documentation for .change():

For select boxes, checkboxes, and radio buttons, the event is fired immediately when the user makes a selection with the mouse, but for the other element types the event is deferred until the element loses focus.

See here for details.

May be better to use .focus() if you can.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜