I am developing an HTML code editor using simple DIV\'s and capturing events. When I use this on the iPad the keyboard never pops up since i\'m not technically in an editab
If your code is executed via something that was initiated via a user action then it will work.
E.g;
this works (pops keyboard):
click
this doesn't work (input gets a border but no keyboard pop):