jQuery form serialize data missing in CodeIgniter with TinyMCE jQuery form serialize data missing in CodeIgniter with TinyMCE codeigniter codeigniter

jQuery form serialize data missing in CodeIgniter with TinyMCE


I have exactly the same problem. I'm going crazy! :-(It seems JQuery Ajax request (I use serializeArray function) don't want accept anything like ""!!!I'm sure that the problem isn't TinyMCE (I try to "force" string, serialize it.. and "style" disapear!).. :-(


(edit)

Are you using CodeIgniter framework? If yes, give a look to your application/config/config.php file and try to set $config['global_xss_filtering'] parameter to FALSE... It works for me! :-)

If is your case, remember to use XSS filtering on POST, and GET where you must protect by scripting hack (visit CodeIgniter XSS manual page).

Otherwise try to debug by add/remove slashes (in jQuery and PHP), or manually look at the value of something like this ( before and after ajax):

    <input type="hidden" name="test" id="test" value="<p><span style="color:#f00;">test</span></p>" />