function copycon()
                {
                    
var tempval = $("#txtAdCode").get(0);
                    tempval.focus();
                    tempval.select();
                    
if (document.all)
                    {
                        therange 
= eval(tempval).createTextRange();
                        therange.execCommand(
"Copy");
                    }
                }

相关文章: