How can I implement jumping to next field after user enters all the required number of characters?
The document.getElementById('FieldId') ALWAYS returns null!!.
I have code like this
<h:inputtext id "FieldText" maxlenght = "5" ....... onkeyup ="AutoTabToNextField(this, 'NextField')" />
h:inputtext id = "NextField" ,,,, />
// This is the problem. No Matter what method I use to pass reference to F2,
// F2 is ALWAYS ALWAYS NULL or is not an OBJECT!!!
// F1 is passed correctly ... ALWAYS .. I think it is because of using "this"
if (F1.value.length == F1.maxLength)
<<< Ali >>>