select 双击事件

    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

posted @ 2013-04-12 17:38  taotaonwsuaf  阅读(513)  评论(0)    收藏  举报