Assuming the above is not part of a "partially-valid critique" of your
suggestions (as it seems to be a general comment rather than being
about any suggestions made), which part of his "critique" was not
valid?
Your comments in relation to the mark-up were absolutely wrong (both
in terms of what 'people' were trying to draw attention towards and
the technical aspects of your suggested changes), and Thomas' comments
on it were spot-on. His comments on the "return false;" suggestions
may have started out with a slightly subjective assertion (if one that
I agree with), but the observation that <input type="button"> elements
don't have a default action to be cancelled by such code was making a
valid point.
Well, his comments on the mark-up are only valid for HTML doctypes.
Whereas this is valid for HTML4 or XHTML:
<input type="submit" id="butOne" value="butOne"/>
But a major point is that when the OP prefaced the markup with this:
| I have something like this (trimmed down)
criticizing the markup for its failure to include rows/cols attributes
on the textareas or block elements around the form controls or for
some spurious commas in what's typed in to this post seems to be pure
pettiness. It's certainly not aimed at actually helping the OP solve
the problem at hand, as far as I can tell. I guess I should have
realized that it was just that sort of pettiness at play, but I'm not
sure it was a valid critique to assume that Thomas knew the OP's
DOCTYPE, and hence I was wrong. Obviously I did get wrong what others
were criticizing in the markup, though.
Thomas' critique of my suggestion about "return false" were not only
subjective; they also ignored the succeeding paragraph where I
explicitly suggested that the OP not change to type="button", but
stick with type="submit", for which the default action *is* the form
submit we want to cancel.
I do not agree with the section you quoted above. VK is easily "the
worst kind of wannabe" (combining, as he does, a self-created fantasy
understanding of javascript, an inability to understand when he is
shown to be wrong and an approach to reasoning that rarely achieves
lucidity) (sorry, I could not think of a way of expressing that which
does imply that you are also a "wannabe", which is not sort of
terminology that I would normally use, and strikes me as a very
premature conclusion).
Actually, I have pretty thick skin. Maybe I am a wannabe.
And being quiet until you get your facts right
would be a very bad idea, and generally unwelcome. As a learning
exercise, it is best to say what you think about the subject and then
listen to the criticism that receives.
Agreed. I'm sure I won't be a member of this forum for years on end,
but while I am here, I plant to learn what I can, and to share what
I've learned. That doesn't involve being quiet, even if I know I'm
likely to be wrong fairly often.
And it is in the discussions
that follow from those exchanges that much of the interesting content
on the group can be found.
Yes, that's true. But I also would prefer that the environs were at
least hospitable to less advanced JS users here earnestly asking for
advice. That was the only reason that I bothered to respond to
Thomas.
I would not have posted my first message on this thread had someone
given the OP a competent answer, preferring to learn from the most
experienced people here. But all that had been posted were small-
minded critiques of the markup. After my response, Asen gave a useful
critique of my post offering an improvement to my suggestion for the
OP, Gregor gave a less useful response that argued against my
suggestions but gave no suggestions for the OP, and Thomas gave one
that criticized my solution, insulted me, and still offered no help to
the OP.
I believe I am not overly sensitive. Had Thomas actually offered
competent help to the OP, I would not have responded to his insults.
But since the only response was, in essence, "Your markup sucks; go
away," I didn't feel Thomas had earned the right to insult my efforts
unchallenged.
I'm curious as to whether someone in this group, had the OP used the
following markup (which I think would be valid in HTML or XHTML),
would have posted a more useful response:
<form id="aform" method="post" action="myAction">
<p>
<input type="submit" id="butOne" value="butOne"/>
<textarea id="tx1" rows="3" cols="20"></textarea>
<input type="submit" id="butTwo" value="butTwo"/>
<textarea id="tx2" rows="3" cols="20"></textarea>
</p>
</form>
Would that have made a difference? Is this newsgroup really that
petty?
-- Scott