function input_person_init() { $('#content').html(''); $('#result').html(''); var str = '
'; $('#content').html(str); $('#post').click(function() { $('#form').submit(); }); } // function input_post() { // var formData = new FormData($('form')[0]); // $.ajax({ // type : 'post', // //dataType : 'json', // url : '../servlet/input/person', // data : formData, // contentType : false, // cache : false, // processData : false, // xhrFields : { // 'withCredentials' : true // }, // crossDomain : true // }); // } // function input_person_init() { // $('#result').html(''); // str = '| post | |
| file: | |