【发布时间】:2012-09-08 09:00:37
【问题描述】:
我有表单和文本框,一旦单击表单按钮,我将如何使用 javascript if else 语句确定这些文本框是否为空。
function checking() {
var textBox = $('input:text').value;
if (textBox == "") {
$("#error").show('slow');
}
}
提前致谢!
【问题讨论】:
标签: javascript jquery