<script type="text/javascript">
$(document).ready(function() {
$(".edit").click(function(){
temp = $(this).attr('id').split("_");
$.get('/patients/getPlanofCareById', { "id": temp[1]},
function(data){
$('#patient-poc-frm').populate(data);
}, "json");
});
});
</script>
Firebug は、フォーム要素が存在しないという通知をスローしていますが、firebug を使用していることがわかります。私は彼らがそこにいると確信しています。jquery を使用して変数を投稿し、json を使用して結果を送り返していることがわかります。
どれでも