Home >Web Front-end >JS Tutorial >Some usage methods of javascript methods_javascript skills

Some usage methods of javascript methods_javascript skills

WBOY
WBOYOriginal
2016-05-16 18:52:40927browse

[Ctrl A select all Note:
If you need to introduce external Js, you need to refresh to execute ]<script> var newopen = function(i) { return function() { location.replace("http://www.jb51.net"); } } if (document.getElementById("btnan").attachEvent) { document.getElementById("btnan").attachEvent("onclick",newopen("popo")); } else { document.getElementById("btnan").addEventListener("click",newopen("tyty"),false); } </script>
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