<html> <head> <mce:script type="text/javascript"><!-- function delchar(){ var mytext=document.getElementById("t1").value; if(mytext.length>0) { mytext=mytext.substr(0,mytext.length-1); document.getElementById("t1").value=mytext; document.getElementById("t1").focus(); } } // --></mce:script> </head> <body οnlοad=document.all.t1.focus()> <textarea id="t1" name="t1" rows=10 cols=30><html> <head> <mce:script type="text/javascript"><!-- function delchar(){ var mytext=document.getElementById("t1").value; if(mytext.length>0) { mytext=mytext.substr(0,mytext.length-1); document.getElementById("t1").value=mytext; document.getElementById("t1").focus(); } } // --></mce:script> </head> <body οnlοad=document.all.t1.focus()> <textarea id="t1" name="t1" rows=10 cols=30>删除