Skip to content

joshpangell/simple-dom-chain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

jQuery plugin for simple dom chain inspector

Demo

http://joshpangell.github.com/simple-dom-chain/

Description

This is a simple jQuery plugin that returns a full DOM chain from a clicked element.

Usage

To inspect every element on the page

$("*").CssInspector({
	callback: function(results) {
		console.log(results);
	}			
});

The callback function will return an array of results and can be turned into a string with join

results.join(", ");

Releases

No releases published

Packages

No packages published