Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- setTimeout to detect changes in a text field


Rain_Lover - 4:16 pm on Nov 28, 2012 (gmt 0)


Now it works properly. But if I remove the if clause, the iframe gets updated every 10ms, no matter if there's a change in the textarea content or not. It is not necessary and CPU-friendly. The question is how can I set it to update the iframe only if there is a change in the textarea content?


Thread source:: http://www.webmasterworld.com/javascript/4523008.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com