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; $.ajax({ type: "POST", url: "mail.php", data: values, complete: function() { $("#right").remove("form"); $("<p>Thanks</p>").appendTo("#right"); } }); return false }); }
From the Design Piracy series on my blog: