Link to home
Start Free TrialLog in
Avatar of Al4ddin2
Al4ddin2

asked on

llop through characters in textbox

I would like to be able to loop through characters in a textbox and index them, work out their position and when a new line is started (i.e. when the text reaches the edge of the text box and wraps or when the enter key is pressed.)
ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Al4ddin2
Al4ddin2

ASKER

Thanks, say the contents of the textbox has some script that inserts the contents of the textbox into these tags [div]{content to check is in here}[/div] how do I then remove these to do the indexing?
i.e. rich text formatting