/* 
* JavaScript Document
* gregmerriman.co.uk
* jquery.submitted.js
* 
* includes/js/jquery.submitted.js
* 
* Author    :   Greg Merriman
* Copyright	:		Copyright 2009 (c) Greg Merriman Web Development
* Created   :   Fri 06 Nov 2009
* Modified  :   Fri 06 Nov 2009
* 
*/

 
// When the DOM is ready...
$(function(){

	$('form').submit(function () {
		// optional: replace "form" with whatever CSS selector you want (ex: ID or class)
		$('input[type="submit"]', this).replaceWith('<p class="sending"><em>Sending your message...</em></p>');
	});

});