1 Reply Latest reply on Nov 18, 2013 4:39 PM by Robert Galvin

    Is there a reliable way to determine which HTML element has focus from within a Javascript function?

    Hayden Eastman


      I would like to write a generic Barcode callback that will dump the scanned data into the current field that has focus.  I found document.activeElement, but this does not seem to work reliably in Rho.  Anyone know of a bulletproof way to determine which HTML element has the focus from my javascript callback?

       

      Hayden E.