add document key event alert function
The jquery couldn't work, I think it is my wrong usage!