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

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -