
September 27th, 2012, 06:12 AM
|
 |
Contributing User
|
|
Join Date: Oct 2009
Location: Jakarta, Indonesia.
|
|
|
Hi Donnerschlag.
Simply put, I think that would require a <textarea>, and a setInterval() timer started at page loads. After 2*60*1000 msecs, the timer should add readonly attribute to that textarea.
I'm not sure about your "extra"... does this checking happen after the the textarea has been disabled or anytime before? The former is easier I guess, since you only need to load a text file (via AJAX) and perform checking; but the latter might require an keyup event handler be installed to the textarea.
Hendra
|