jQuery focus() - blur() Method
Read the tutorial on YogiHosting »
Reset »
1. Focus/blur on textbox on button click
Focus
Blur
2. Attach a function when textbox gets Focus or blur