【发布时间】:2010-11-14 18:48:48
【问题描述】:
如果字段模糊(失去焦点)时为空,我想删除图像:
这是开始的代码:
$('#type').keyup(function(){
$('#image').show();
$("#type").blur( function() {
// i wanted to check here if #type field is empty as well before hiding?
$('#image').hide();
});
【问题讨论】:
标签: jquery html css image input