jquery验证元素是否为空的方法:1、input用【val()】判断,代码为【var value = $('#test').val()】;2、用【html()】判断,代码为【var value = $('#test').html()】。
技术文章 / 下载软件趣味内容 / 专业带飞