We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> <body> <input type="button" id="btn" name="" value=""> <script> var oBtn = document.querySelector('#btn'); oBtn.addEventListener('click',function(){ console.log(111); },false); oBtn.click(); console.log(222); </script> </body> </html>
打印结果是先打印111,再打印222
The text was updated successfully, but these errors were encountered:
No branches or pull requests
打印结果是先打印111,再打印222
The text was updated successfully, but these errors were encountered: