javascript focus on input
Status: Beta
Brought to you by:
trainhappy
Hello Lobo developers!
Thank you for this wonderful browser component!
We are displaying a login webpage in a Frame that contains logic to focus on a field. However it seems that the focus is not given to the element. Is there something that we can do about this?
Best regards,
Sander
<script>
function test() {
var x = document.getElementById('x')
x.focus()
}
</script>
<body onload="test()">
<input id="x">