Just checking elswhere

Ads

 
 

Share on Google+Share on Google+

Colin Lansdown
Just checking elswhere
0 Answer(s)      6 years and 2 months ago
Posted in : JavaScript Questions

I have been posting some questions within the HTML group but getting no joy. I thought I would try another area.

The main question I was looking for is: I have a textarea box which post a single users comment back to the same html page they enter the text. However what I wanted it to do is add other comments rather than overwriting the orignal. Here is the current code which does the job but it only allows a single comment on the page.

<html>
<head>
<script type="text/javascript">
function showComment(){ var data=document.getElementById("text").value;
     alert(data);
     document.getElementById("comment").style.visibility= "visible";
     document.getElementById("lab").innerHTML=data;
     }

</script>
</head>
<body>Post Comment: <br><textarea id="text" rows="10" cols="40"></textarea><br>
<label id="comment" style="visibility:hidden"><b>Comments: </b>
</label>
<label id="lab">Comments</label><br>
<input type="button" value="Post" onclick="showComment();">
</body>
</html>

Please can you help?.

Colin

Ads
View Answers
Ads









Related Tutorials/Questions & Answers:
Just checking elswhere
Just checking elswhere  I have been posting some questions within the HTML group but getting no joy. I thought I would try another area. The main question I was looking for is: I have a textarea box which post a single users
checking the data
checking the data  Sir, I have built an application where a user types a long string as input. Then after he/she types a single word of that string... the user types the keyword "pay". I'm just not able to solve this problem
Advertisements
UITextfield checking
UITextfield checking  hello,, how can i check UITextfield length or any specific value..   hii, here is some code for textfield checking if ([name.text isEqualToString:@"hello"]) or if (name.text.length<1
Dirty Checking In Hibernate Example
Dirty Checking In Hibernate Example  What is the example of Dirty Checking in Hibernate? Give me some of the example code? Thanks
php dynamic array checking
php dynamic array checking  php dynamic array checking
php dynamic array checking
php dynamic array checking  php dynamic array checking
Dirty Checking In Hibernate Example
Dirty Checking In Hibernate Example  Hi, What is Dirty Checking... Checking In Hibernate is an mechanism for automatically detects the changes in the state of an Entity. Check tutorial at Dirty Checking In Hibernate section
Dirty Checking In Hibernate Example
Dirty Checking In Hibernate Example  What is the example of Dirty Checking in Hibernate? Give me some of the example code? Thanks   The Dirty Checking In Hibernate is used to track the status of the entity and detect
Dirty checking feature of hibernate.
Dirty checking feature of hibernate.  What is the dirty checking feature of Hibernate?   Hi friends, Dirty checking is a feature of hibernate. It allows the user or developer to avoid the time consuming databases
Hibernate Dirty Checking
This section contains the concept of Hibernate dirty checking
checking index in prepared statement
checking index in prepared statement  If we write as follows: String query = "insert into st_details values(?,?,?)"; PreparedStatement ps = con.prepareStatement(query); then after query has been prepared, can we check the index
Validaton(Checking Blank space) - Spring
Validaton(Checking Blank space)  Hi i am using java springs .I am having problem in doing validation. I am just checking blank space. This is my controller. I named it salescontroller. package controller; import
What is the dirty checking feature of Hibernate?
What is the dirty checking feature of Hibernate?  What is the dirty checking feature of Hibernate?   Hibernate allows dirty checking... process of updating the changed object is called automatic dirty checking. Dirty
Checking the CustomItem in j2me support traversal or not?
Checking the CustomItem in j2me support traversal or not?  Hi, How should i check the CustomItem in j2me support traversal or not. Thanks & Regards, Sivakumar.J
just askin - Java Beginners
just askin  were can i find a website,, who have a java bean program which include its code, algorithm and flowchart? plsss
just a short question.!!
just a short question.!!   Can anyone help me with this short question? please :) **What is printed by the following C++ code? cout <<
Error in checking null value in string
Error in checking null value in string  Error in checking null value in string Hi am getting Exception : java.lang.NullPointerException in the following code: String registerno=null; registerno=request.getParameter("registerno
stock checking in java with backend as access
stock checking in java with backend as access  Hi, I am doing a project in java,Can i able to know how to check the stock availability of a product in java...my back end connectivity is ms-access from the database ,i hv
Checking the decimal whether comma used or not
Checking the decimal whether comma used or not  I need to check the given integer whther comma used or not. For example. If the user given 123456 The output should be like 123,456 If the user given 123,456 The output should
How to Checking Syntax Error in PHP from Command Line
How to Checking Syntax Error in PHP from Command Line  Checking... syntax without running the code. Just use the ?? l switch with php command... check this: http://www.phpzag.com/checking-syntax-error-in-php-from-command-line
Checking whether a year is leap or not
Checking whether a year is leap or not       This tutorial is going to teach you the coding for checking whether a year is a leap year or not. Here, we have taken the year 2000. So
Dirty Checking In Hibernate
Dirty Checking In Hibernate In this section we will read about the dirty checking in hibernate. Dirty Checking is the feature of hibernate that helps... for dirty checking. In an inspection strategy, a snapshot of the object
Version of com.rationaleemotions>just-ask dependency
List of Version of com.rationaleemotions>just-ask dependency
IFrame.IN- Just Another Encode Tools
IFrame.IN- Just Another Encode Tools       This site will help you quickly encode and obfuscate your HTML/JavaScript code many different methods, as well as generate browser redirect
Checking elsewhere with correctly blocked code and question
Checking elsewhere with correctly blocked code and question  Hi I have already posted this question but realised I had made a few mistakes. So firstly the problem again!. I have a textarea box for user comments which will return
Maven Dependency just-ask >> 1.0.0
You should include the dependency code given in this page to add Maven Dependency of com.rationaleemotions >> just-ask version1.0.0 in your project
Maven Dependency just-ask >> 1.0.1
You should include the dependency code given in this page to add Maven Dependency of com.rationaleemotions >> just-ask version1.0.1 in your project
Maven Dependency just-ask >> 1.0.2
You should include the dependency code given in this page to add Maven Dependency of com.rationaleemotions >> just-ask version1.0.2 in your project
class NSCFString autoreleased with no pool in place - just leaking
class NSCFString autoreleased with no pool in place - just leaking  Hi, In my application following error is coming: class NSCFString autoreleased with no pool in place - just leaking What is the solution? Thanks
Exceptions Rethrowing with Improved Type Checking
Exceptions Rethrowing  with Improved Type Checking In this section... checking. Take a a look at the following code having improved type checking of Java... extends Exception { } The third class, containing improved type checking
Just-In-Time Manufacturing (JIT)
Just in time is a concept of zero wastage production in project management... by reducing wastage. Basically, Just-In-Time Manufacturing (JIT) production... required amount of goods on demand and thus avoids stock. Thus, in Just in time

Ads

 
Advertisement null

Ads