Changeset 38313 for websites/twicli

Show
Ignore:
Timestamp:
08/21/10 14:37:07 (4 years ago)
Author:
NeoCat
Message:

add oninput to textarea

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • websites/twicli/twicli.html

    r38050 r38313  
    2020<!--発言フォーム--> 
    2121<form name="frm"> 
    22         <textarea id="fst" name="status" onkeyup="updateCount(); if (!key_press_detected && this.value.indexOf('\n') >= 0) return press(1)" onkeypress="updateCount(); return press(event)" onfocus="updateCount();" onblur="$('counter-div').style.display='none';"></textarea> 
     22        <textarea id="fst" name="status" onkeyup="updateCount(); if (!key_press_detected && this.value.indexOf('\n') >= 0) return press(1)" onkeypress="updateCount(); return press(event)" oninput="updateCount();" onfocus="updateCount();" onblur="$('counter-div').style.display='none';"></textarea> 
    2323        <a id="go" href="javascript:void press(1)"><img alt="→" src="images/go.png"></a> 
    2424        <a id="rst" href="javascript:void resetFrm()"><img alt="×" src="images/clr.png"></a>