By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
460,045 Members | 1,339 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 460,045 IT Pros & Developers. It's quick & easy.

Re: Using keyboard keys to activate buttons

P: n/a
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.
Jun 27 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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")
http://www.cs.tut.fi/~jkorpela/

Jun 27 '08 #2

P: n/a
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?
Jun 27 '08 #3

P: n/a
Scripsit Harlan Messinger:
I didn't say anything about its topicality.
I did. Which part of "comp.infosystems.www.authoring.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")
http://www.cs.tut.fi/~jkorpela/

Jun 27 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.