-1

I want to load the content after submitting the form in a popup. i have try modal and dialog box which are predefined with a div and then on ajax call the data is appended any suggestion are very much helpful

4

1 に答える 1

1

$CI =& get_instance();ライブラリとヘルパーですべての CodeIgniter リソースを使用できるように、ライブラリのコンストラクターまたはヘルパー ファイルの先頭に追加したことを覚えていますか? (ドキュメントのこちらもご覧ください)

次に、次のように CodeIgniter リソースを呼び出すことができます。

$CI->load->helper('file_helper');
read_file($file);    

$CI->load->library('session');
$CI->session->sess_destroy();
于 2013-07-26T05:13:20.643 に答える