javascript - 定位 Span jQuery Controller

标签 javascript jquery html google-chrome

我正在尝试查找控制模板中 span 元素的 jQuery 代码。

例如:

<span class="ccontent"
  • 当鼠标悬停在该类上时,会打开一个信息窗口。

如何使用 Chrome 在我的模板中找到与此相关的 jQuery 代码以及它所在的文件?

最佳答案

尝试使用Visual Event 2

Visual Event is an open source Javascript bookmarklet which provides debugging information about events that have been attached to DOM elements. Visual Event shows:

  • Which elements have events attached to them
  • The type of events attached to an element
  • The code that will be run with the event is triggered
  • The source file and line number for where the attached function was defined (Webkit browsers and Opera only)

关于javascript - 定位 Span jQuery Controller ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14241267/

相关文章:

javascript - 使用 jquery 获取的 url 参数扩展 Accordion 菜单并将 attr 添加到所需的类

javascript - "document.ready()"函数未在 Chrome Mobile (android) 上触发

html - 如何更改按钮的轮廓颜色?

Javascript 数组和对象比较

javascript - 隐藏 Qualtrics 库日历,直到输入字段获得焦点/被单击

javascript - 分别设置输出文件夹和文件url;使用 Django 的 Webpack 文件加载器

javascript - Css 适用于 Dreamweaver 但不适用于 Chrome

java - 创建一个方法从 https 网页获取整数并将其存储在数组中

javascript - 使用 HTML/CSS 显示锯齿状字体

javascript - 将元素 append 到数组的单个元素