07 2012 档案
摘要:文字插入光标处插件代码:/***文字插入光标处插件*调用方法:$("txtInput").insertAtCaret(“text”);*/(function($){$.fn.extend({insertAtCaret:function(myValue){var$t=$(this)[0];if(document.selection){this.focus();sel=document.selection.createRange();sel.text=myValue;this.focus();}elseif($t.selectionStart||$t.selectionStar
        阅读全文
                
                    posted @ 2012-07-23 15:16  
贝加
    
                
            
摘要:js代码(function($){varprintAreaCount=0;$.fn.printArea=function(){varele=$(this);varidPrefix="printArea_";removePrintArea(idPrefix+printAreaCount);printA...
        阅读全文
                
                    posted @ 2012-07-09 08:56  
贝加
    
                
            
摘要:字段自动截取并追加“...”.truncated { color: red; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        阅读全文
                
                    posted @ 2012-07-09 08:48  
贝加
    
                
            
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号