$(function () {
    $("form").each( function() {
			var thisFormID = "#" + $( this ).attr( "id" );
			var thisFormStatus = thisFormID + " div.status";
			//$( thisFormID ).validate();	 validate the form
	
			$( thisFormID ).submit( function() {
				$( thisFormStatus ).html("");
				var forminput = $( thisFormID ).serialize();
				
				$.post(
					"post.aspx", 
					$( thisFormID ).serialize(),
					function(data) {
						$( thisFormStatus ).html(data);
						$( thisFormID + " input[type=submit]" ).attr("disabled", "disabled");
					}
				); //post
				
				return false; //stop <form> action from firing
			}); //form-submit
		}); //each form
});
