focus on field on iPad

Discussion in 'iPhone/iPad Programming' started by Jeff7645, Aug 18, 2010.

  1. macrumors newbie

    Joined:
    Aug 18, 2010
    #1
    I'm currently making a web application which needs to be fully compatible with iPad. The functions I've implemented so far work perfectly on Firefox, Internet Explorer and other browsers. However, the iPad itself responds a bit different.

    After a certain action, I want to put focus on a textfield with the help of Javascript. Again, this works perfectly with the normal browser, the iPad browser however seems to be blocking the focus.

    The reason I'm not posting any code is because it's basically irrelevant. All I do is:
    Code:
    <<<SOME_CONTROL>>>.focus();
    Other functions of the control seem to work perfectly, adjusting the backgroundColor of the same control for example seems to be no problem:
    Code:
    <<<SOME_CONTROL>>>.style.backgroundColor = "#77FFFF";
    Any ideas?
    Thanks in advance
     
  2. macrumors regular

    Joined:
    Feb 27, 2008
    #2

Share This Page