<div class="codetitle"> <span><a style="CURSOR: pointer" data="68780" class="copybut" id="copybut68780" onclick="doCopy('code68780')"><u>复代码</u></a></span> 代码如下:</div> <div class="codebody" id="code68780"> <br><input type="button" value="1"/> ; <BR><input type="button" value="2"/> <br><input type="button" value="3"/><br> <br><input type="button" value="4"/> <br><input type="button" value="5"/> <br><input type="button" value="6"/><br> <br><input type="button" value="7"/> <br><input type="button" value="8"/> <br><input type="button" value="9"/><br> <br><input type="text" value=""/> <br><script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"></script> <br><script type="text/javascript"> <br>var items=""; <br>jQuery(function(){ <br>$("input:button").each(function(index){ <br>$(this).mouseover(function(){ <br>if(items.indexOf ($('input').eq(index).val())==-1){ <br>items =$('input').eq(index).val() <br>$(' 입력:텍스트').val(항목) <br>} <br>}) <br>}) <br>}) <br></script> <br> </div>