Internet explorer is not working during setting cursor in textarea with unicode character. It consider enter as \r\n, whereas in inputbox it is considered as \n.
So detecting textarea in internet explorer, i determine the cursor postion considering this. So for a input sequece:
1. type s
2. press enter
3. type d
4. press enter
5. type p
6. move cursor after d
7. press m
Now the text saved is: s\r\ndm\r\np and i've to move cursor after m. So i call a function with a value 5.
But it move the cursor just before of p, that is an extra enter after m is included also.
How can solve this problem ? I wish to make a code that'll behave in internet explorer inputbox and textarea equally.