Textarea
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, October 9, 2001 11:03 PM

How do i select a part of text and how to replace a selected part of text from textarea.

Re: Textarea

Posted By:   Anonymous  
Posted On:   Wednesday, October 10, 2001 01:38 AM

Hi

The following tips will help you

a)public void select(int selectionStart,
int selectionEnd)
Selects the text between the specified start and end positions.

b)public void replaceRange(String str,
int start,
int end)
Replaces text between the indicated start and end positions with the specified replacement text.

Incase of questions let me know

Regards
Muthukumar
About | Sitemap | Contact