jQuery-plugin-getPath:jQuert getPath - 查找 HTML 元素的(可能的)jQuery 选择器

时间:2021-07-05 19:33:09
【文件属性】:
文件名称:jQuery-plugin-getPath:jQuert getPath - 查找 HTML 元素的(可能的)jQuery 选择器
文件大小:12KB
文件格式:ZIP
更新时间:2021-07-05 19:33:09
JavaScript jQuery 获取路径 在某些特定情况下,您可能希望以独特的方式识别 HTML 元素 - 使用 jQuery Selector 或 XPath - 以便在另一个浏览器 - 不同的 DOM - (例如:访问者鼠标和键盘实时监控)中选择它。 用法 $('body').bind('click.monitoring',function(e){ //Get the element's jQuery selector //It'll return something like this: #example-5>h4:eq(0) var sel = $.getPath(e.target); //is the same as $(e.target).getPath(); //Send to the server what element was clicked //(and maybe
【文件预览】:
jQuery-plugin-getPath-master
----TestAndBench()
--------test.html(15KB)
--------othersjQueryPlugins()
--------test.js(657B)
--------bench.html(16KB)
--------JSLitmus()
----.gitmodules(110B)
----README.md(1KB)
----jQuery.getPath.js(2KB)

网友评论