The Artima Developer Community
Sponsored Link

Java Answers Forum
Forms

1 reply on 1 page. Most recent reply: Aug 6, 2003 11:58 AM by Mike Barbu

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Mike Barbu

Posts: 2
Nickname: m1k3r0ck3t
Registered: Aug, 2003

Forms Posted: Aug 6, 2003 11:58 AM
Reply to this message Reply
Advertisement
Ok, here is what I'm looking to do. I have a form named "workorder" and a textarea within that form that has data in it from the dB. I want to add a button (of some sort) that when clicked will add an additional line of text to the textarea. And if possible, not allow it to be clickable again.

My next post will be a copy of the hacked javascript that I found, but it won't work in a form.


Mike Barbu

Posts: 2
Nickname: m1k3r0ck3t
Registered: Aug, 2003

Re: Forms Posted: Aug 6, 2003 11:58 AM
Reply to this message Reply
<form action="" method="post" name="workorder" id="workorder">
<table border="0" cellspacing="0" cellpadding="0">
<SCRIPT LANGUAGE="JScript">
function LoggedBy()
{
strResolution.value = window.event.srcElement.value;
}
</SCRIPT>
<tr>
<td class="8">Resolution:</td>
<td class="8" align="right">
<img src="images/add_logged_by-up.gif" width="83" height="11" border="0" onClick="LoggedBy()">
</td>
</tr><tr>
<td colspan="2">
<textarea cols="111" rows="10" name="strResolution" class="7"><%= strResolution_ %></textarea><br>
</td>
</tr>
</table>
<input type="submit">
</form>

Flat View: This topic has 1 reply on 1 page
Topic: Moving images on JPanel Previous Topic   Next Topic Topic: JList problem

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use