Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- type: "POST",
- url: '<?php echo $this->baseUrl('/reports/downloadpdfyear') ?>',
- data:{
- current:currentpage
- },
- success: function(){
- window.open(baseUrl + 'Cases_year_2012_page_' + currentpage + '.pdf');
- }
- });
Add Comment
Please, Sign In to add comment