[jQuery] help with ajax post

[jQuery] help with ajax post


can someone help me get this to work please? i need a post to a page
that returns a string to set but it's my first time using it
$("#hash").val(
$.ajax({type: "POST"
,url: "GetNewHash.aspx"
,data:"orderid="+ $("#orderid").val()+"&amount="+ $
("#amount").val()+"&dtnow="+ $("#time").val()
+"&Gateway_MerchantConfigID="+ $("#Gateway_MerchantConfigID").val()"
,async: false}).responseText);