Windows CE & Pocket PC

Moderators: None (Apply to moderate this forum)
Number of threads: 324
Number of posts: 425

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
WinCE 5.0 Build 1400 javascript in IE is broken! Posted by thestonefox on 3 Mar 2009 at 4:39 AM
Hi all,

I'm developing some web based services for WinCE devices and I've come across a massive problem that WinCE 5.0 Build 1400 does not seem to support basic javascript functionality such as getElementById !!

I need to obtain information from form fields and i'm using document.getElementById() to grab the data.

This method works perfectly fine in ie6, ie7, firefox, safari, opera on the desktop. It works perfectly fine in WinCE 4.2 and in WinCE 5.0. But on the devices that have WinCE 5.0 Build 1400 getElementById just does not work at all!!!

If I do this:

document.forms['myform'].textbox.value

then I can obtain the value from a form (and obtain the form element) in Build 1400

but if I do this

document.getElementById('textbox').value

then nothing happens.

Is this a known bug and are there any fixes for it, I dont want to have to start changing code because IE is buggy.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.