i wanted to show an image, only when the person starts typing into the text field.
i.e.
$('#type').keyup(function(){
//show the images
});
html
<input type="text" name="type" id="type">
<div id="showimage"></div>
image
showimage.jpg
jquery:
$('#type').keyup(function(){
$('#image').show();
});
html:
<img id="image" src="showimage.jpg" style="display: none"/>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With