Title: Textbox onChange event will be triggered, despite its text has been not changed Post by: gordis gmbh on May 08, 2018, 04:13:00 AM Hello experts,
I have a textbox, which contains a formatted text and button to set it in readonly mode. I used “\r” to format the text. When the button is clicked, the onChange event will triggered. Despite I’ve not changed the original text. Please have a look at the following example: http://jsfiddle.net/6hwwbptq/22/ (http://jsfiddle.net/6hwwbptq/22/) How can be this issue resolved? Thanks! Title: Re: Textbox onChange event will be triggered, despite its text has been not changed Post by: jarry on May 08, 2018, 04:51:29 PM Please use the '\n' instead of '\r'.
|