textarea - Bizarre Internet Explorer 9 issue - duplicating text in multiline textbox -
i have found bizarre internet explorer issue think i've ever seen, , have absolutely no idea how around it, hoping maybe has seen similar before , knows causes / how fix it.
i have multi-line textbox, follows:
<asp:textbox runat="server" id="txtdoctornotes" textmode="multiline" rows="8" width="270"></asp:textbox>
i noticed morning of words in textbox duplicated, , thinking i'd made mistake when typing clicked in box change contents, , strangely duplications disappeared, , read should be. have no "onclick" event on textbox, though jquery used when contents changed (so when tab out of box jquery flags contents of form have been changed). thinking 1 off rendering issue, reloaded page, , sure enough same duplications reappeared, clicked in box, disappeared. oddly duplicated words weren't @ beginning or end of contents, , weren't together, randomly duplicated them.
tried in chrome, works perfect, no duplication.
as example i've changed contents following:
"the quick brown fox jumped on lazy dog".
i've put breakpoint on line sets contents of textbox, , shows above, however, when form loads shows:
"the quick brown fox jumped on lazy on lazy dog".
if click on it, changes read correctly.
when had actual notes in there earlier, duplicated last word, separately others, in above example have read:
"the quick brown fox jumped on lazy on lazy dog dog".
i'm running internet explorer 9. if change internet explorer 8 mode via f12 button fixes issue, seems ie9.
anyone seen before?
i've encountered on xp ie8. solution me combine bunch of different junk:
*remove whitespace around textarea , container
*remove comments around textarea, or in page if can
*if textarea's hidden default, populate text on action shows it! imo important one.
good luck, bug around in ie7 , never fixed it.
Comments
Post a Comment