onfocus="this.style.backgroundColor='#000000'" onblur="this.style.backgroundColor='#ffffff'" 

onfocus 得到焦点
onblur  失去焦点

相关文章: