How would i take the text in inputText and move it to outputText. I just need to move it, not alphabetize it
<HTML>
<HEAD>
<TITLE>JavaScript Aphabetizer 2013 Science Fair</TITLE>
<SCRIPT LANGUAGE="JavaScript">
function splitthis()
{
var input=inputText.value;
var output=outputText.value;
}
</SCRIPT>
</HEAD>
<BODY>
<center><b>2013 Science Fair JavaScript Alphabetizer</b></center>
<FORM>
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>
</FORM>
</BODY>
</HTML>
Javascript moving arrays
Moderators: AmyCowen, kgudger, bfinio, MadelineB, Moderators
-
- 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
Immasink,
Have you researched your question online? Try googling the following:
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
Have you researched your question online? Try googling the following:
Code: Select all
javascript how to write into a text area
Let us know how it goes, and good luck!
Heinz Hemken
Heinz Hemken
Mentor
Science Buddies Expert Forum
Mentor
Science Buddies Expert Forum