On Key

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • id10t error

    On Key

    Hello,

    I am make a website in ASP.net that will run on a Symbol scanner. The
    problem i am having is when a user is on a certain screen when they
    hit 1 key i want it to click the print button on the screen. I am use
    the Naurtech browser. The with the meta tag <meta http-
    equiv="OnKey0x3 1"content="Clea rbutton.click() "/>. This will not work i
    get HTTP 404- File not found error. Can anyone help me with this?
  • Patrice

    #2
    Re: On Key

    The first step would be to the check the name of the missing page.

    My guess is that it goes to a "Clearbutton.cl ick()" page when you press this
    key. You could try to use "javascript:Cle arbutton.click( )" so that the
    browser knows this is javascript code and not a page name... (my guess is
    that it works basically like the anchor href attribute that can be a page
    name or javascript code).

    --
    Patrice


    "id10t error" <tubbz151@gmail .coma écrit dans le message de groupe de
    discussion :
    7bba2c07-f3aa-4f97-8bf4-be8636633714...l egroups.com...
    Hello,
    >
    I am make a website in ASP.net that will run on a Symbol scanner. The
    problem i am having is when a user is on a certain screen when they
    hit 1 key i want it to click the print button on the screen. I am use
    the Naurtech browser. The with the meta tag <meta http-
    equiv="OnKey0x3 1"content="Clea rbutton.click() "/>. This will not work i
    get HTTP 404- File not found error. Can anyone help me with this?

    Comment

    • id10t error

      #3
      Re: On Key

      On Jun 2, 2:09 pm, "Patrice" <http://www.chez.com/scribe/wrote:
      The first step would be to the check the name of the missing page.
      >
      My guess is that it goes to a "Clearbutton.cl ick()" page when you press this
      key. You could try to use "javascript:Cle arbutton.click( )" so that the
      browser knows this is javascript code and not a page name... (my guess is
      that it works basically like the anchor href attribute that can be a page
      name or javascript code).
      >
      --
      Patrice
      >
      "id10t error" <tubbz...@gmail .coma écrit dans le message de groupe de
      discussion :
      7bba2c07-f3aa-4f97-8bf4-be8636633...@e3 9g2000hsf.googl egroups.com...
      >
      >
      >
      Hello,
      >
      I am make a website in ASP.net that will run on a Symbol scanner. The
      problem i am having is when a user is on a certain screen when  they
      hit 1 key i want it to click the print button on the screen. I am use
      the Naurtech browser. The with the meta tag <meta http-
      equiv="OnKey0x3 1"content="Clea rbutton.click() "/>. This will not worki
      get HTTP 404- File  not found error. Can anyone help me with this?- Hide quoted text -
      >
      - Show quoted text -
      I tired that and i do not get anything now. It just suts at the page.
      Is there a better way to do this?

      Comment

      • Patrice

        #4
        Re: On Key

        [cut]
        >>
        >- Show quoted text -
        >
        I tired that and i do not get anything now. It just suts at the page.
        Is there a better way to do this?
        "Suts" ? That is ??? What if you try content="javasc ript:alert('Tes t')". It
        would help first to see if you can call javascript code from this event.
        Have you tried the documentation for this browser to see if this is
        supported ?

        Then you'll have to find out what you want to do... From there try to see if
        your code is correct. Fore xample you may want to try
        document.getEle mentById rather than to use directly the control name
        (possibly using alert to check at each step if your code works fine)...

        --
        Patrice


        Comment

        Working...