Answered by:
Problem while using Javascript in pocket IE. (IE in Windows Mobile)

Question
-
Hi All,
We are creating some webpages for Windows Mobile using JSP. We need to capture the KeyDown events for Function keys. We were trying to achieve this with JavaScript/JScript. We were able to do this in Desktop IE.
But the same code is not working in the pocket IE. The device we are using is MC70 by Symbol.We would like to know
1. If KeyDown event is supported in any version of Window Mobile IE ?
2. If yes, how can we capture it on web page ?
Sample code which I used for F1 key is attached below. as stated above its working in Desktop but not in Windows mobile.<HTML>
<HEAD>
</HEAD>
<BODY onKeyDown="alert('KeyDown: '+ window.event.keyCode)">
Version: 1.1
</BODY>
</HTML>When we tried with the onload event in the body , it is working in the mobile as well.
Basically, our requirement is to navigate to some other page, when the user press any Function keys. Any pointers or suggestions to achive this functionality ?
Is there any document available, which describes about the supported javascript functions in PocketIE ?
Thanks in advance
Anoop
Mob : +61 432 421 195
- Moved by Josh Barnard Thursday, March 26, 2009 12:30 AM (Moved from Windows HPC Server Developers - General to Off-Topic Posts (Do Not Post Here))
Tuesday, March 11, 2008 1:33 AM
Answers
-
- Proposed as answer by Ed Price - MSFTMicrosoft employee Saturday, December 31, 2011 8:35 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Saturday, December 31, 2011 8:36 AM
Saturday, December 31, 2011 8:35 AM
All replies
-
Hi Anoop,
You may also want to post your question in the Windows Mobile News group. Chances are you get answers there as well.
Michael Cole
Project Manager/Site Administrator | v-micole@microsoft.com
Tuesday, March 11, 2008 1:05 PM -
- Proposed as answer by Ed Price - MSFTMicrosoft employee Saturday, December 31, 2011 8:35 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Saturday, December 31, 2011 8:36 AM
Saturday, December 31, 2011 8:35 AM -
Try posting this question in the "Windows Mobile Development" Forum at the following address
http://social.msdn.microsoft.com/Forums/en-us/windowsmobiledev/threads
Bye.
Luigi Bruno - Microsoft Community Contributor 2011 AwardSaturday, December 31, 2011 3:04 PM