Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Question about Textarea

  Asked By: Michael    Date: Nov 21    Category: Java    Views: 652
  

I have question about javascript. If you know anything, then
please let me know.

<textarea cols=20 rows=20>
for(int i = 0; i<4; i++)
{
out.println(i);
}
</textarea>


When I run this example I get 1 2 3 in my Textarea.
I want to do is select one digit in one time. For example If I select
1 then I should get alert says You got 1. same thing with 2 and 3. I
am not sure If I did good job explaining it. Any help would be
appricated.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Al Allen     Answered On: Nov 21

very simple yaar just add line
Msgbox "you got" +i
after out.println as below
i am not sure about the msgbox function
perhaps it might be message......

 
Didn't find what you were looking for? Find more on Question about Textarea Or get search suggestion and latest updates.




Tagged: