Hello,
I have an input box
<INPUT TYPE="text" NAME="name" SIZE=70>
Now i want a function that puts the user input into variables. After every space a new variable.
example:
I enter the tekst: hello this is a test
The javascript function should do this:
var1 gets the value hello,
var2 gets the value this,
var3 gets the value is,
etc. etc.
Is it possible? And does anyone know how to do it?
Jeroen
I have an input box
<INPUT TYPE="text" NAME="name" SIZE=70>
Now i want a function that puts the user input into variables. After every space a new variable.
example:
I enter the tekst: hello this is a test
The javascript function should do this:
var1 gets the value hello,
var2 gets the value this,
var3 gets the value is,
etc. etc.
Is it possible? And does anyone know how to do it?
Jeroen