OK button missing from javascript Prompt() in 6.5.3 ONLY

已答复 OK button missing from javascript Prompt() in 6.5.3 ONLY

  • 2012年8月9日 14:56
     
      包含代码

    I have a basic javascript Prompt that asks users to enter a number of labels for printing. This has been working fine in Windows Mobile 6.5, but we recently upgraded to 6.5.3 and now the OK button is missing from the prompt window. All we can do now is cancel out of the prompt. We've tested this on 2 different devices, so I don't think it's a problem with the hardware. Has anyone else had this problem or know of anything else I can try?

    Here is the javascript code:

    var n = 0;
    n = prompt("Number of labels to print?", "3");
    

    As an extra test, I tried using the JS prompt example from w3schools.com and I get the same results. The OK button is missing. http://www.w3schools.com/js/tryit.asp?filename=tryjs_prompt

全部回复

  • 2012年8月13日 7:22
     
     
    What language are you using? JAVA?

    Please not forget mark your answer, and unmark your disagreed point.

  • 2012年8月13日 23:56
     
     
    This is an MVC website written in C#, but the prompt is a basic Javascript prompt. 
  • 2012年8月16日 18:44
     
     已答复

    Probably not relevant, but no one came up with better, so:
    On my LG Fathom, running WM 6.5.5.2.23103, some dialog boxes display badly, with buttons
    off-screen. So somewhat similar symptoms to yours. A developer could solve some problems
    by resizing dialog boxes, but can't do much about boxes provided by the OS. No such
    problems on my Touch Pro 2 running WM 6.1 or WM 6.5. No such problems on my devices
    running earlier versions of WM.

    On Thu, 9 Aug 2012 14:56:39 +0000, Prankster624 wrote:

    I have a basic javascript Prompt that asks users to enter a number of labels for printing. This has been working fine in Windows Mobile 6.5, but we recently upgraded to 6.5.3 and now the OK button is missing from the prompt window. All we can do now is cancel out of the prompt. We've tested this on 2 different devices, so I don't think it's a problem with the hardware. Has anyone else had this problem or know of anything else I can try?
    Here is the javascript code:

    var n = 0;
    n = prompt("Number of labels to print?", "3");
    

    As an extra test, I tried using the JS prompt example from w3schools.com and I get the same results. The OK button is missing. http://www.w3schools.com/js/tryit.asp?filename=tryjs_prompt

    ----------------------------------------- To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message). Robert E. Zaret PenFact, Inc. 20 Park Plaza, Suite 400 Boston, MA 02116 www.penfact.com r_z_aret@pen_fact.com Useful reading (be sure to read its disclaimer first): http://catb.org/~esr/faqs/smart-questions.html