• Tools
  • Articles
  • Q&A
  • Login
0 0

怎样使用在chrome的console触发点击页面中的元素?


怎样使用在chrome的console中编写函数触发点击页面中的元素?

jquery chrome 前端 JavaScript

12 years ago
boywest

boywest


share
boywest 12 years ago

Answers

0

审查要触发点击的元素,切换到 Console 窗口,输入


 $0.click();

answered 12 years ago
boywest

hasam


share
hasam answered 12 years ago

Your Answer

Ask Question
Related questions

DevTools下分析网站源码时,如何快速找到某个JavaScript特效代码片段?

我写了两个jquery插件,经常导致Chrome崩溃,能帮我分析下么?

对象不支持“ready”属性或方法

js跨域问题

写jquery插件的callback函数

jQuery如何实现微软官方网站效果?