IE Mobile Limitations on WM 5 vs WM6
This is some nice information most of develor miss during windows mobile development.
- IE Mobile for Windows Mobile 5 does not support document.getElementById()
, though IE Mobile for Windows Mobile 6 does. The following code snippet provides a workaround using the document.all
DOM property.
-IE Mobile for Windows Mobile 5 does not support createElement
, though IE Mobile for Windows Mobile 6 does. For Windows Mobile 5 devices, create elements using the innerHTML
property.
- Use the innerHTML
and innerText
properties to modify an element on IE Mobile for both Windows Mobile 5 and 6.
More reading
http://code.google.com/apis/gears/mobile.html#create_doc_elements_win_mo
Cheers,
Suresh Behera