javascript - Textarea in IE8 Newline issue -
i'm making cross-browser form, requires textarea. textarea receives data 2 ways: - sending ajax call server , returning data - user inputted data
http://jsfiddle.net/garrettwong/x3ksp/
i'm having issue on ie8 textarea text not formatted (newlines not being read), in chrome, same code, nicely formats textarea. i'm hoping use solely javascript solution if possible, i'm not sure go here.
why using text()? set value using val().
new lines \n\r.
Comments
Post a Comment