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


Fotiman - 1:59 pm on Nov 28, 2012 (gmt 0)


Ah, ok. That's because:
if (textarea.value)
If you delete the entire value, then this test will be false, and therefore the iframe will not be updated. Just remove the "if" condition.


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