jQuery(function($){
  $('<input type="button" value="Join List" />')
  .click(function(){
    $(this).parents("form:first").ajaxSubmit({
      success: function(responseText, responseCode) {
        $('#ajax-save-message').hide().html(responseText).fadeIn();
        setTimeout(function(){
          $('#ajax-save-message').fadeOut();
        }, 3000);
      }
    });
    return false;
  })
  .appendTo('form div.submit');
});
