1.javascript gets the parameters after the URL "?": var query = window.location.search.substring(1);
var pairs = query.split("& ");
2. The default function of IE browser stops (the movement of the Tab key in the address bar, etc. stops)
function stopDefaultKey(){
window.event.cancelBubble = true; //---Cancel the The bubbling of events.
window.event.returnValue = false; //The event returns a false value.
return false ;
}
3.javascript static variable, declared once in the same js file, available in multiple places this.Variable name
4.javascript keyCode event.keyCode == 13 enter
event.keyCode == 9 tab
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn