javascript - Load a codeigniter view in a new window -
i looking way open report in new window using codeigniter. still did not find proper way this. need send array of data view , think won't big problem following code used pass array of data view.
$this->load->view('report',$data);
my problem how open in new window using javascript,jquery or php if there method. helpful. thanks.
try way:
echo anchor('controller/function', 'show in new window', array('target' = > '_blank'));
or maybe can use jquery trick
Comments
Post a Comment