aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes onkeypress event, IE on windows CE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "onkeypress event, IE on windows CE" Watch "onkeypress event, IE on windows CE" New topic
Author

onkeypress event, IE on windows CE

Yuriy Zilbergleyt
Ranch Hand

Joined: Dec 13, 2004
Posts: 429
Hello, I'm having some problem with the onkeypress event in web pages displayed with Internet Explorer 4.01 for Windows CE, running on an iPaq. Specifically, the event doesn't fire at all.



The event fires on the destkop version of IE 6.0. According to MSDN, IE 4.0 for the Windows CE platform supports the onkeypress event. I know that javascript is enabled because I've tried other events (onload, onclick) and they worked fine.

Does anyone know what the problem is? Does an iPaq's virtual keyboard not trigger key events in the browser?

Thank you,
Yuriy Zilbergleyt
[ March 15, 2006: Message edited by: Yuriy Zilbergleyt ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I do not think it supports it. You may have to use onfocus with a timer.

Eric
Yuriy Zilbergleyt
Ranch Hand

Joined: Dec 13, 2004
Posts: 429
Hmm, I didn't even think of using a timer. So every so many milliseconds I'd be checking the textarea's value for changes, right? Not the most elegant solution, but it seems Microsoft doesn't leave much choice in the matter. Thanks, Eric!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: onkeypress event, IE on windows CE