Menu
Hi all, I have a page which contains: Form called F1 –> Textbox called T1 and Textarea called A1..
When I click on a button it takes the value of T1 and then do it like this..
if the value is java then it should out put:
j
ja
jav
java
on the textarea..
I have the following code which is not working:
[CODE]function show()
{
var a = F1.T1.value;
var i = 0;
while ( i <= a.length )
{
i = i + 1;
F1.A1.value = a.substring(0,i);
}
}
also how can I print more than 1 line in the textarea..
Thanks in advance,
zeid