G
Guest
I know the subject line is lame, but I'm totally lost and don't know
quite where to begin.
I've inherited some code at work. The author is gone. The code is
totally undocumented; not one single comment anywhere.
The code is a conglomeration of applets, Java, Javascript, Perl and
HTML. The Perl code generates the HTML data.
Here's the problem: An input screen has two buttons. The user has to
push one button to grab textarea data they just typed before they press
the 'Submit' button to upload the data (text plus images) or they'll
lose the text. The actual situation is worse than this, but this is
enough to get the general idea across.
What I'd like to do is to make the program just a wee bit more
user-friendly by not requiring the user to press two stupid buttons.
How can I have the 'Submit' button grab the data from the textarea?
I apologize for this problem description being so vague but the code has
me in knots. I'm not an expert in all of the above languages. Your
assistance would be greatly appreciated. Thank you.
quite where to begin.
I've inherited some code at work. The author is gone. The code is
totally undocumented; not one single comment anywhere.
The code is a conglomeration of applets, Java, Javascript, Perl and
HTML. The Perl code generates the HTML data.
Here's the problem: An input screen has two buttons. The user has to
push one button to grab textarea data they just typed before they press
the 'Submit' button to upload the data (text plus images) or they'll
lose the text. The actual situation is worse than this, but this is
enough to get the general idea across.
What I'd like to do is to make the program just a wee bit more
user-friendly by not requiring the user to press two stupid buttons.
How can I have the 'Submit' button grab the data from the textarea?
I apologize for this problem description being so vague but the code has
me in knots. I'm not an expert in all of the above languages. Your
assistance would be greatly appreciated. Thank you.