Detect which form input has focus using JavaScript or jQuery

前端 未结 9 2542
灰色年华
灰色年华 2020-11-29 09:20

How do you detect which form input has focus using JavaScript or jQuery?

From within a function I want to be able to determine which form input has focus. I\'d like

9条回答
提交回复
热议问题