I have an ASP with a form containing 10 buttons, in a "keypress" function i need to know which button currently has focus, I've tried the following - but they don't work:
if (document.form1.button1.focus() == true)
and
if (document.form1.button1.focus())
how do i confirm which item has currenly got focus?
if (document.form1.button1.focus() == true)
and
if (document.form1.button1.focus())
how do i confirm which item has currenly got focus?