By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,373 Members | 1,792 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,373 IT Pros & Developers. It's quick & easy.

Wrapping of text in textarea

P: 15
When I'm entering the textarea the control automatically goes to to next line as it reaches the end of the row.This happens in IE but it fails to wrap to next line in Firefox. In Firefox the text continues to be entered in the same row and a horizontal scroll bar is introduced when the text reaches the end of the columns.

The code I have used is
<textarea name="ms_answer2" id="ms_answer2" cols=110 rows=4 onKeyDown="textCounter(this.form.ms_answer2,this.f orm.os_remaining2,500);" onKeyUp="textCounter(this.form.ms_answer2,this.for m.os_remaining2,500);">

Can anyone help me on this.
Thanks in advance
Oct 14 '06 #1
Share this Question
Share on Google+
2 Replies


jaymanson
P: 29
I hit that problem with Firefox before, then realised that I was testing it by just holding down one key! Try putting in a normal paragraph of words instead of one long string of characters - you should find it wraps just fine!

Jay
Oct 14 '06 #2

P: 15
Ya its working fine now..
Thanks a lot
Oct 14 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.