Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Jeff7645

macrumors newbie
Original poster
Aug 18, 2010
1
0
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.