質問

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

役に立ちましたか?

解決

Did you remember to add $CI =& get_instance(); in your library's constructor or at the top of your helper file so you can use all the CodeIgniter resources in your libraries and helpers? (see also here in the docs)

You can then call CodeIgniter resources like this:

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

$CI->load->library('session');
$CI->session->sess_destroy();
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top