jquery-highlight-selection
v0.0.4
Published
Simple jQuery plugin for boxes around elements for debugging purposes
Readme
jQuery Highlight Selection
Simple jQuery plugin to draw boxes around the items in the current jQuery collection.
Usage
$('div').highlightSelection();
// All div tags will now have a red box around them
$('li').highlightSelction();
// All li tags will now have a red box around them and the ones around div
// tags are removedConfiguration
$.fn.highlightSelection.defaults.border = "blue";
// border color will now be blue
$.fn.highlight.defaults.clearPreviousSelection = false;
// subsequent calls to highlight selection will no longer clear the old ones