Re: Using keyboard keys to activate buttons

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Harlan Messinger

    Re: Using keyboard keys to activate buttons

    Jukka K. Korpela wrote:
    Scripsit MikeB:
    >
    >Short question:
    >Can I create a form where the user can simply hit the "1" key on the
    >keyboard and a button click for a specific button on the form is
    >simulated?
    >
    That's not a short question, really. And questions don't get any
    shorter, or any simpler, just by calling them "short".
    >
    >As an exercise we had a form that had two input fields and one could
    >press a button and the contents of the two fields would be added
    >together.
    >
    Did you do it? URL? The odds are that it is far more important to
    analyze the basic solution than to invent new complexities. So how did
    the page look like when scripting was disabled? Let me guess... a form,
    with a button, and clicking on the button does nothing? No explanation
    anywhere?
    >
    >I thought it would be interesting to write an entire calcualtor
    >(similar to the one that comes with Windows) as an HTML page.
    >
    It would be an exercise in futility, since the calculator would be
    inferior even to the _simple_ (as opposite to "scientific ") mode of the
    Windows Calculator.
    For heaven's sake, give it a rest. It's an *exercise*. I'm sure when you
    were learning all this, you went directly from zero to major
    world-shaking innovations, but most of us go through a lot of
    wheel-reinvention and wheel-imitation first.
  • Jukka K. Korpela

    #2
    Re: Using keyboard keys to activate buttons

    Scripsit Harlan Messinger:
    For heaven's sake, give it a rest.
    "It"? You fullquoted like a moron, or a clueless newbie.
    It's an *exercise*.
    So what? It doesn't make it any more sensible, or any more on-topic.
    Learning stupid things when you should study the basics isn't a
    justification for anything.
    I'm sure when
    you were learning all this, you went directly from zero to major
    world-shaking innovations, but most of us go through a lot of
    wheel-reinvention and wheel-imitation first.
    I didn't waste my time babbling like that, to be honest. Sorry for
    cheating that way.

    --
    Jukka K. Korpela ("Yucca")


    Comment

    • Harlan Messinger

      #3
      Re: Using keyboard keys to activate buttons

      Jukka K. Korpela wrote:
      Scripsit Harlan Messinger:
      >
      >For heaven's sake, give it a rest.
      >
      "It"? You fullquoted like a moron, or a clueless newbie.
      >
      >It's an *exercise*.
      >
      So what? It doesn't make it any more sensible, or any more on-topic.
      Learning stupid things when you should study the basics isn't a
      justification for anything.
      I didn't say anything about its topicality. As for the issue that I'm
      challenging you on, since when is programming a small-scale
      keyboard-driven interactive application for learning purposes stupid?

      Comment

      • Jukka K. Korpela

        #4
        Re: Using keyboard keys to activate buttons

        Scripsit Harlan Messinger:
        I didn't say anything about its topicality.
        I did. Which part of "comp.infosyste ms.www.authorin g.html" do you fail
        to understand? Followups set.
        As for the issue that I'm
        challenging you on, since when is programming a small-scale
        keyboard-driven interactive application for learning purposes stupid?
        Ever since it started meaning you try to do "advanced" things without
        having and without wanting to have a clue of the basics. ObHTML: That
        applies to doing silly things in HTML "for learning purposes" as well.

        --
        Jukka K. Korpela ("Yucca")


        Comment

        Working...