File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes How to display multiple values in textarea using JavaScript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to display multiple values in textarea using JavaScript" Watch "How to display multiple values in textarea using JavaScript" New topic
Author

How to display multiple values in textarea using JavaScript

Jay Shukla
Ranch Hand

Joined: Jun 08, 2008
Posts: 214
Hi All,

I am new to JavaScript.

I have two textareas on my JSP and i want to display value from one text area to another textarea by selecting that particular value from one text area that value should be diaplayed to other textarea but when i select next value the previous value is lost.

How could i retrieve all the values selected from first textarea?

Following are the snippets i have used in JSP:

//MoveOver function in Javascript



//Calling Moverover from JSP




Could anyone please help on above.

Thanks in Advance.
Zandis Murāns
Ranch Hand

Joined: Aug 18, 2009
Posts: 174

Create function that goes through all checkboxes and add values like:

execute this function on all checkboxes change event.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to display multiple values in textarea using JavaScript