Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
jQuery(function($) { $('select.leader').change(function() { var $select = $(this), $input = $select.next(); $select.val() == 'other' ? $input.attr('name', $select.attr('name')) .show() : $input.removeAttr('name') .hide(); }).triggerHandler('change'); });
This paste will be private.
From the Design Piracy series on my blog: