locked
Problem while using Javascript in pocket IE. (IE in Windows Mobile) RRS feed

  • 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

  • Yes, this thread is old.

    This was moved out of the HPC forum.

    You can ask this question in another forum (Windows Phone or Java).

    Or I can move it into a specific forum if you'd like.

    Thanks!


    Ed Price a.k.a User Ed, Microsoft Experience Program Manager (Blog, Twitter, Wiki)
    Saturday, December 31, 2011 8:35 AM

All replies