|
Posted by Harlan Messinger on May 9, 2008, 6:56 am
Please log in for more thread options 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.
|