$('#limit_from').val("0"); do_search(true); }); $('#search').keypress(function (e) { if (e.which == 13) { $('#search_form').submit(); } }); $(".date_filter").datepicker({onSelect: function(d,i){ if(d !== i.lastVal){ $(this).change(); } }, dateFormat: "<?php echo dateformat_jquery($this->config->item('dateformat')); ?> "}).change(function() { do_search(true); return false; }); resize_thumbs(); }); function resize_thumbs() { $('a.rollover').imgPreview(); } function init_table_sorting()
}, async:false, dataType: 'json' }).responseText).success; }, '<?php echo $this->lang->line("sales_invoice_number_duplicate"); ?> '); $('#datetime').datetimepicker({ dateFormat: '<?php echo dateformat_jquery($this->config->item("dateformat")); ?> ', timeFormat: '<?php echo dateformat_jquery($this->config->item("timeformat")); ?> ' }); var format_item = function(row) { var result = [row[0], "|", row[1]].join(""); // if more than one occurence if (row[2] > 1 && row[3] && row[3].toString().trim()) { // display zip code result += ' - ' + row[3]; } return result; };