[Opa] onload focus()

N Owen Gunden ogunden at phauna.org
Wed Jan 18 03:10:19 UTC 2012


What's the best way to achieve this in opa?

  function init() {
    document.getElementsByTagName('input')[0].focus();
  }
  window.onload = init;

(it can also be done with <body onload="...">)



More information about the Opa mailing list