【发布时间】:2011-05-09 21:24:17
【问题描述】:
我想只在用户开始在文本字段中输入时显示图像。
即
$('#type').keyup(function(){
//show the images
});
html
<input type="text" name="type" id="type">
<div id="showimage"></div>
图片
showimage.jpg
【问题讨论】:
-
你试过
$('#showimage').show();吗? -
@gateway 您是否从 ajax 调用中获取图像详细信息??
标签: jquery html css image input