Testing document.activeElement

Textbox

Checkbox


Dropdownlist

Radiobutton

Current active element: