I have come across 2 problems using FF 29.0.1 that I can't figure out and I'm looking for some help:
1.) When my page loads I have js code 'document.getElementById('dbtype').focus();' that should set focus to the first element. The element is a <select> tag and according to the tab order it does have focus (I can tab and I do go to the next element). However, there is no indication that the element has focus, like dotted lines, or anything. IE8 does show focus by having dotted lines inside the element. Why does FF not show this also?
2.) I use js code 'document.getElementById("cefiform").submit();' to submit the form but Firebug tells me that submit() is not a function. If I remove the () character then I do not get any errors but the form does not submit. Why?
I didn't find the right solution from the internet.
http://forums.mozillazine.org/viewtopic ... &t=2836859