Capture an array of post data

Hey,

What the correct format to capture an array of posted data…


$("#trans-process").live('click',function(){	

	var data = {utotal: $('#utotal').val(), total: $('#total').val(), method: $('#method').val(), firstname: $('#firstname').val(),  };
		$("#shop").html('<center><br /><br /><img src="./loading.gif"></center>');	
		$.post("includes/cart-trans-process.php", data, function(response){
		$("#shop").html(response);
		},'text');
});

Thats what I have, but have also tried utotal: $(‘#utotal’).val(),

The data is being sent via <input id=“utotal” name=“utotal” type=“text” size=“8”> etc…

Thanks