摘要:        
1.第一种方案 $("#addItems").on("keyup","[data-numbox=num]",function(){ this.value=this.value.replace(/[^\d\.]/g,""); }); $("#addItems").on("change","[data-    阅读全文
        
            posted @ 2017-02-14 14:07
dazzlinglight
阅读(188)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
Ok, here’s a fairly basic one – how to force a textbox to accept only numeric input. Somebody asked me this today on a support call so I did a few qui    阅读全文
        
            posted @ 2017-02-14 11:20
dazzlinglight
阅读(164)
评论(0)
推荐(0)
        
        
 
                    
                     
                    
                 
                    
                
 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号