Results 1 to 4 of 4
Jan 5, 2012, 10:44 #1
- Join Date
- Nov 2008
- 0 Post(s)
- 0 Thread(s)
Fixed size text box to limit user input
What I'd like to do is have a fixed-size textarea that only allows as much input as will fit in the box (based on a fixed font size) without any scrolling or resizing. (number of characters will vary as using proportional font).
I've tried all sorts of things including intercepting when a scroll bar appears, and trying to modify this jquery autosize plugin https://github.com/padolsey/jQuery.fn.autoResize#readme, but I can't get it to work properly.
Can anyone suggest the best way to go about it, or is there already a plugin to do it?