jQuery(document).ready(function() { jQuery("#uncountryTable").dblclick(function(){ jQuery("#uncountryTable option:selected").each(function(){ var option = "<option value='"+jQuery(this).val()+"'>"+jQuery(this).text()+"</option>"; jQuery("#countryTable").append(option); jQuery(this).remove(); }); }); });
摘自:http://www.iteye.com/topic/1042189
<script type="text/javascript"> </script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>