*You* are wrong. And it is *you* who asking for assistance here, so when
told you were wrong, you should either comply and do what you are asked, or
go away. Because the people telling you are rather proficient in their
field and thus most certainly right (even if some of them are utterly wrong
at times), and any amount of arguing to the contrary is not going to get you
the answers that you seek. (It will only get you added to scorefiles and
killfiles.)
Thomas,
Your claim that anyone answering is right even when they're wrong is
shear folly. Yes, my question is directed to people who are experts
in javascript as it interacts with CGI programs. If you had the
expertise you claim, you would have had no trouble knowing exactly
what I was up to and would have been able to provide a concise answer,
perhaps with an illustrative code block (but more likely not: with the
options I can conceive of at present, a short paragraph or two of
explanation of possible options would likely suffice).
But, have you bothered to read either VK's reply to me or even your
own charter?
I will quote VK here, as he quotes the charter correctly (as I
confirmed by examining the documents he provided links to), just in
case you can't be bothered doing your homework.
comp.lang.javascript as one of Big 8 Usenet hierarchy newsgroups has
its Charter defining the purpose of the group and the borders of
allowed topics of discussion. If posting in one of Big 8 newsgroup and
having some doubts of the kind it is a good idea to look for the group
Charter. A Usenet Big 8 Charter is not changeable for the life span of
the group and it has the absolute priority over any other group items
including FAQ, current consensus, authoritative opinion of a frequent
poster etc. Your case is very simple, as the clj Charter states and I
quote:
"... open to discussion on all aspects of JavaScript, as it relates to
HTML, Java, Perl, the World Wide Web in general, and other related
languages ..."
(
http://www.faqs.org/ftp/usenet/news.announce.newgroups/comp/comp.lang....
http://www.jibbering.com/faq/faq_notes/cljs_charter.html )
So yes, your question is fully suitable and welcome for this newsgroup.
As I see it, no one would lose anything if you added them to your kill
file. I have read a lot of posts in this forum over the past few days
and I have yet to find one post from you where you provided a
constructive answer while I have found plenty where you berate people
who ask questions you apparently don't know the answer to. I won't
say you haven't provided any useful, constructive relies to questions,
only that based on what I have read so far such posts are greatly out
numbered by posts where you only berate people who ask questions that,
for whatever reason, you find offensive.
[...]
While not everyone interested in ECMAScript will know perl, everyone
who knows perl will know exactly what that function produces, and it
is reasonable to expect there will be significant numbers of people
here who know both well enough to assist me.
No, it is not. It would be reasonable that a significant number of
subscribers of comp.infosystems.
www.authoring.misc, for example, know
both well enough to assist you.
Of course it is. Your charter explicitly says that everything related
to javascript including how it interacts with HTML, Java, Perl, and
other related languages (presumably any language used for CGI
programming). It is not possible to talk about interactions between
javascript and those languages used for CGI programming if no one in
the forum knows those other languages. Don't take my word for it,
read the charter for yourself.
My question was not about a problem with the javascript function
itself (that function works fine as is, if I were willing to ignore on
the server side what the user puts in the table on the client side),
but rather how to make it play nice with the perl script on the server
side.
So post the client-side ECMAScript script code along with the relevant
question, as you have been told. Because as much as it does not matterfor
the Perl script that you are generating a client-side ECMAScript script with
it, it does not matter for the client-side ECMAScript script that you are
using Perl to generate it server-side (it would work the same with server-
side PHP, for example.)
If you are incapable of doing that, please go away (preferably to an
appropriate .misc group).
But you did not adhere to its recommendations.
To be more precise, I did not comply with your misinterpretation of
the FAQ's recommendations!
I did, however, comply with both the FAQ and the charter for this
group. Regardless of how opinionated you may be, or how firmly you
believe what you are saying, the charter for this group takes
precedence. If you can't accept that, then go ahead and add me to
your own kill file, or go through whatever process is required to
change the charter for this group. You have managed to convince me
that you lack the expertise I seek anyway. Therefore, I will lose
nothing by being added to your kill file. I am certain that folk like
VK, and others from this forum that have helped me in the past, will
not follow your example. And once I have gained the kind of expertise
in javascript that I have earned in the other languages I have used
over the decades, I will be answering many of those questions you so
despise. I am not the sort of man who can not be intimidated by guys
like you, and unlike you I am well aware that there are kids just
starting out that will both make the kinds of mistakes you routinely
berate people for asking and who can be intimidated. Therefore, I am
tolerant of human fallibility even when they have made the sort of
mistake you've been falsely accusing me of making.
If I was asking for help debugging a script, I'd be providing complete
html, that has been passed through a couple validators I have found,
that included everything required to just load it into your favourite
browser to see the script in action. But I did not ask for debugging
help in this instance, so providing such a page is both unnecessary
and irrelevant. The code I posted was intended only as very concise
documentation of how I made a table of input fields that could be
extended. In those few cases where I have needed debugging help, I
have posted complete, stripped down, code. Apparently you don't
understand the difference between providing code as documentation of
what is being done and providing code for the purpose of seeking
debugging assistance.
You've almost gained an understanding of the question. It is true
that someone using PHP on the server side will have to deal with the
same issue. The same is true for those using C/C++ or java for their
CGI program. The core of the issue is how the cgi script knows what
data is being sent to it by a client side form that includes a table
of text input fields. My question, then, would be of general interest
to anyone who needs to get his javascript to play nicely with his CGI
program, regardless of what language that CGI program is in (although
if the language used for the CGI program lacks features available in
Perl, a solution that is done on the server may be a bit more
challenging). It is, of course, of no interest to anyone who uses
javascript only for tasks that involve only the client. While I know
C/C++, Java, Perl and PHP, I used, and referred to, perl because it is
the only language I use for CGI programming. But anyone who provided
a solution in terms of any of these other languages would be as
helpful to me as one who referred to CGI programming in perl. While I
have some ideas I will be testing today for options on the server side
in my perl code, I think an option, if one exists, involving
javascript on the client side may well serve to simplify the server
side code regardless of the language used, and a client side solution
may well make more efficient use of processing resources.
Cheers,
Ted