Well I found an example from another page, but I want to do it in javascript, and here is the code that I got.
This is the form I am working with:
<form name="input" action="">
Username:
<input type="text" name="user">
<input type="submit" value="Submit">
</form>
I don't know what action to use or if there is any other part that I need for javascript, and I don't know the code for the recieving end page.
Thanks