views:

52

answers:

1

For instance if I have

<input type="text" id="myid">

and I am using the ipad, when i focus in this input, the ipad would automatically display the keyboard. Is there a way to avoid that? Thanks

A: 

Don't let the focus goto that field. Use an event handler to prevent the default behavior. The event handler would look something like this: function onFocus(e) { e.preventDefault(); // you could change the color of the field to indicate this is the active field. }

Your table handling code could populate this field without the browser ever focusing on it.

BeWarned