I have a screen that begins with a radiobutton. For some reason it does not accept focus until the tab key is pressed. I use a js line to assign focus to the radiobutton but the radiobutton does not accept it. All my other pages have focus set on the first object when the page is displayed. What can I do to cause the radiobutton to have focus? Here's the code line I am now using:
where 'numberProperty Losses' is the name of the radiobutton set.
Code:
document.getElementById('numberPropertyLosses').focus();
Comment