Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
This paste will be private.
function contact() { $("form").submit(function(){ var values = $("input[@type=text]").serialize; $.post("mail.php",{values},function(){ $("#right").remove("form"); $("<p>Thanks</p>").appendTo("#right"); }); return false; }); }
From the Design Piracy series on my blog: