TextField onFocus Event
This has been mentioned a few times, but the only fixes I have seen deal with firing a focus event on a textField directly after a window is opened. I am trying to fire a focus() event (iPhone) after a table row is tapped. Here is my code.
Any suggestions?
1 Answer
-
Simple… the focus() function was called when the field was constructed.
Insert a DELAY…setTimeout(function() { tf1.focus(); },500);
This will resolve your problem.