$("select[name=kind[]]").change(function() { 02 var kind_id = $(this).val(); 03 url = "/admin/add"; 04 $.post( 05 url, 06 "kind=" + kind_id, 07 function (result) { 08 alert(typeof result); 09 } 10 ),"json"; 11 });