using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; using System.Drawing.Drawing2D; using System.Windows.Forms; using System.ComponentModel; namespace ControlExs.ControlExs.TextBoxEx { public cl
以下Function可以用于textbox的KeyUp事件: 2014-06-06 发现旧版IE不支持selectionStart还有字符串的"[]"索引获取值, 已经修复这个bug. 2014-06-10 修复上一次修复遗留的IE的bug. /* Validate the textbox value is decimal. */ var numberChars = "1234567890"; function isDecimal(item) { var obj =