I\'d like to make the background image for my input field disappear once the user has typed any amount of text in it. Is there a simple way to do that in javascript? I can get i
with jquery, you could do something like
$('#phone').focus(function(){ var text = $(this).val(); if(text != ''){ $(this).css('background-image', 'none'); } });