Skip to main content

Home/ jquery/ Contents contributed and discussions participated by lilin_fr

Contents contributed and discussions participated by lilin_fr

lilin_fr

jQuery Logging - 0 views

  • I’ve been having a lovely day at work, fiddling with jQuery. I started to come up with some really gnarly selector chains though, and I wondered what nodes they were actually addressing. So, I wrote a tiny jQuery extension that logs the current jQuery selection to the firebug console. jQuery.fn.log = function (msg) { console.log("%s: %o", msg, this); return this; }; Now, I can just stuff a call to .log() in the middle of what I’m doing to see what I’m currently addressing. e.g. $(root).find('li.source > input:checkbox').log("sources to uncheck").removeAttr("checked"); The nice thing about logging to firebug is that each node becomes clickable in the console, so you can immediately see the context.
lilin_fr

Metadata | jQuery Plugins - 0 views

shared by lilin_fr on 15 Oct 07 - Cached
  • This plugin is capable of extracting metadata from classes, random attributes, and child elements
lilin_fr

Encode HTML entities with jQuery - 0 views

  • $('<div/>').text('This is fun & stuff').html(); // evaluates to "This is fun & stuff"
lilin_fr

jQuery Plugin -- jTagging - 0 views

  • This is a lightweight jQuery plugin which makes user input a tag more easily.
lilin_fr

Mozilla Firefox - 0 views

  • A jQuery plugin to provide some functionality to add corners to html elements (blocks only, currently).
lilin_fr

jQuery Grid Plugin - 0 views

shared by lilin_fr on 15 Oct 07 - Cached
« First ‹ Previous 101 - 114 of 114
Showing 20 items per page