在html标签中:
<input type="image" src="..." onFocus="src=' ' " οnblur="src=' ...' " >
<input type="image" src="... " onFocus="this.style.backgroundImage='url(...)'" >
<input type="button" onFocus="this.style.border='green solid 2px'" οnblur="this.style.border=''">
在js中添加标签:
<input type='password' placeholder='Enter Password' οnfοcus='this.style.backgroundImage=\"url(...)\"' οnblur='this.style.backgroundImage=\"url(...)\"'/>\: