文本框只允许输入数字的控制方法
onKeyUp="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))execCommand('undo')"
onKeyUp="if(isNaN(value))execCommand('undo')" onafterpaste="if(isNaN(value))execCommand('undo')"
1.为元素添加四个相同的圆角:语法结构:border-radius:r; r为圆角的半径大小 eg:如下样式,给元素添加四个圆角为10px代码如下: radius div{ width: 100px; height: 100px; ...
Server.HTMLEncode...
EXEC sp_dboption 'OldDbName', 'Single User', 'TRUE' EXEC sp_renamedb 'OldDbName', 'NewDbName' EXEC s...