开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜