sending custom object from client (Jquery) to server (WCF)
问题 how to send a custom object from client (jquery) to server (WCF service) what is the way of passing an object? below is my code and when i see in the firebug this is what i get please see the screen shot: http://img88.imageshack.us/img88/205/54211873.png var CustomerInfo = { Name: '', Address: '' }; function buildNewCustomerRequest() { var request = { CustomerInfo: CustomerInfo }; request.CustomerInfo.FirstName = $("#Name").val(); request.CustomerInfo.Address = $("#Address").val(); return