1 namespace('kivi.Letter', function(ns) {
5 $('#letter_customer_id,#letter_vendor_id').change(function(){
6 var data = $('form').serializeArray();
7 data.push({ name: 'action', value: 'Letter/update_contacts' });
8 $.post('controller.pl', data, kivi.eval_json_result);