开发者

how to get the point when a textbox starts hiding the character on left side in javascript

开发者 https://www.devze.com 2023-01-01 23:09 出处:网络
i want to get the point when开发者_JAVA百科 the textbox start hiding the character to the left side

i want to get the point when开发者_JAVA百科 the textbox start hiding the character to the left side hw is it posible in javascript


You would get the width of the textbox, approximate the width of a char, and when (char_amounts * char_width > textbox_width), you got yourself an overflow.

0

精彩评论

暂无评论...
验证码 换一张
取 消