Javascript moving arrays

Ask questions about projects relating to: computer science or pure mathematics (such as probability, statistics, geometry, etc...).

Moderators: MelissaB, kgudger, Ray Trent, Moderators

Javascript moving arrays

Postby immasink » Sun Mar 03, 2013 8:21 pm

How would i take the text in inputText and move it to outputText. I just need to move it, not alphabetize it
<TITLE>JavaScript Aphabetizer 2013 Science Fair</TITLE>
function splitthis()
var input=inputText.value;
var output=outputText.value;



<center><b>2013 Science Fair JavaScript Alphabetizer</b></center>
Input Text Box<br>
<TEXTAREA name="inputText" rows=5 cols=80 wrap=on></TEXTAREA><br>
<INPUT NAME="alphabetize" TYPE=Button VALUE="alphabetize" onClick="splitthis"><br>
<INPUT NAME="reverse alphabetize" TYPE=Button VALUE="reverse alphabetize" onclick=><br>
<INPUT NAME="clear" TYPE=Button VALUE="clear" onClick= ><br>
Output Text Box<br>
<TEXTAREA name="outputText" rows=5 cols=80 wrap=on readonly></TEXTAREA>
Posts: 2
Joined: Sat Mar 02, 2013 1:52 pm
Occupation: Student: 7th grade
Project Question: I am working on ABC's of Programming: Writing a Simple "Alphabetizer" which I use JavaScript to script an alphabetizer usable in browser.
Project Due Date: 3/5/13
Project Status: I am conducting my experiment

Re: Javascript moving arrays

Postby hhemken » Wed Mar 13, 2013 4:52 pm


Have you researched your question online? Try googling the following:

Code: Select all
javascript how to write into a text area

In general, Google is usually able to provide good results if you ask your question in plain english.

Let us know how it goes, and good luck!

Heinz Hemken
Heinz Hemken
Science Buddies Expert Forum
Posts: 266
Joined: Mon Oct 03, 2005 3:16 pm

Return to Grades 6-8: Math and Computer Science

Who is online

Users browsing this forum: No registered users and 1 guest