除以下代码外,再导入个jquery-1.4.4.min.js文件 ,代码中收件人是写死的("ABC", "ABCDEF", "BCDEF"),已测试通过! 复制代码 代码如下: <BR>.clickcss a:link <BR>{ <BR>text-decoration: none; <BR>} <BR>.clickcss a:hover <BR>{ <BR>background-color: #CCCCCC; <BR>} <BR>.clickcss a:active <BR>{ <BR>background-color: blue; <BR>} <BR> <BR>$(document).ready( <BR>function() { <BR>$(document).keydown( <BR>function(event) { <BR>if (event.keyCode == 46) { <BR>var containner = $("#div1 span").eq(0); <BR>containner.find("a").each(function() { <BR>if ($(this).css('background-color') == 'blue') { <BR>$(this).remove(); <BR>} <BR>}); <BR>if (containner.find("a").length == 0) { <BR>containner.css("width", "0"); <BR>} <BR>} <BR>}); <BR>}); <BR>function check() { <BR>//<%=value %> <BR>var array = new Array("ABC", "ABCDEF", "BCDEF"); <BR>var result = null; <BR>var aobject = null; <BR>var value = $("#input1").val(); <BR>var containner = $("#div1 span").eq(0); <BR>if (value == "") { <BR>alert("璇疯