Why does FF not show this also?

Sección para"expertos", que quieren cambiar el código HTML de su página o insertar Java Scripts, Iframes, etc.. Si eres principiante, esta sección no te hace falta.

ModeradorCOLON Moderadores

spadekevin
Aprendiz
Aprendiz
MensajesCOLON 12
RegistradoCOLON 19 Jun 2018 13:32
Escribe: PalimpalemCOLON Palimpalem

Why does FF not show this also?

Notapor spadekevin » 03 Ago 2018 10:16

Hello,

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?

Please help.

I didn't find the right solution from the internet.

References:
http://forums.mozillazine.org/viewtopic ... &t=2836859
Recycle management video

Thank you.

Volver a

¿Quién está conectado?

Usuarios navegando por este Foro: 5 y 0 invitados