Hi, im trying to implements CKeditor on Codeigniter framework. I can load, instance and config as well but when i submit textarea's content with jQuery ajax in JSON string format, span's style tag disappear on PHP server side.
Here is my javascript function
function debug(){ var vcadena = JSON.stringify($("#ncuerpo").val(), null, 2); $.ajax({ type: "POST", url: "/administrar/noticias/serverdebug", data: ({cadena:vcadena}) }); }
Re: Missing span style tag from ajax jQuery to PHP
Re: Missing span style tag from ajax jQuery to PHP
Codeigniter uses instead native PHP's method
If i print $this->input->post('postVariable') before json_decode i can see the string:
as u can see, style tag isnt there
Re: Missing span style tag from ajax jQuery to PHP
Does it work ok?
Re: Missing span style tag from ajax jQuery to PHP
No it doesn't, but i found the problem.
Just setting to FALSE solve the problem.
Thanks for fast replies
Re: Missing span style tag from ajax jQuery to PHP
Just to be absolutely clear.:
$config['global_xss_filtering'] = FALSE;
and it´ did work alright ?
Tks
...... Aaminah
That's right!
That's right!