Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
jQuery.validator.addMethod("mxvalid", function(value, element) { $.ajax({ url: 'http://localhost:4567/email-check', type: 'GET', dataType: 'jsonp', data: $.param( $(element) ), success: function(data, textStatus) { console.info("IN CALLBACK"); if (data == 'success') { console.info(data); return true; } else{ console.info(data); return false; }; } }); });
This paste will be private.
From the Design Piracy series on my blog: