var str = "123"
if(!$.isNumeric(str )) //是数字返回为true
alert('该字符串不是数字');
else
alert('是数字');
Copyright © 广州京杭网络科技有限公司 2005-2025 版权所有 粤ICP备16019765号