?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/application/views/report/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/sec/application/views/report/reportfunctions.php |
<script type="text/javascript"> function generateReport(url) { $('form').attr('action', '<?= site_url() ?>/' + url); $('form').submit; } function generate_pdf(url) { $('#report_div').html(''); if (callvalidate('validateform')) { $.ajax({ type: "POST", url: '<?= site_url() ?>/' + url, data: $('form').serialize(), success: function (msg) { if (msg == 0) { alert("No result Found"); } else { $('#report_div').html(msg); } } }); } } </script> <?php ?>