textarea: select text and scroll to it with javascript -
i've been trying find solution past few hours, no luck far. how select text (actually found 1 already, haven't tested yet) in textarea , force scroll text? i've tried using scrolltop, don't know how calculate number of lines of wrapping textarea in mind.
think you're trying do:
http://flesler.blogspot.com/2007/10/jqueryscrollto.html
can use scroll dom elements, in case text you're selecting.
Comments
Post a Comment