이 작업을 수행 할 때 나는 그것이 .NET
유형 JSON
을 통해 제출 될 수 있도록 javascript
date
을 설정하려고하지만, 오전에 의해 직렬화되는, jQuery
전체에 date
을 설정 string
, .NET
유형으로 변환하려면 어떤 형식이 필요합니까? 나는이 (가) .NET
유형 바인딩을 수행하기 위해 서버에 MonoRail
를 사용하고가 jQuery를
var regDate = student.RegistrationDate.getMonth() + "/" + student.RegistrationDate.getDate() + "/" + student.RegistrationDate.getFullYear();
j("#student_registrationdate").val(regDate); // value to serialize
는, 그 옆으로 난 제대로 .NET
코드로 전송하려면 할 수있는 형태의 숨겨진 필드 값을 설정하는 것을 알 필요가있다.