Codeigniter and AJAX - Cross Server Scripting Issues |
[eluser]lanzd[/eluser]
I found something in my code which was causing the issue. So this issue was not due to CSS. However I have had issues with it in the past and remember I had found this bit of code which uses the CSRF cookie CI automatically generates (if enabled). I do not remember where I found it so I cannot provide a link. Code: $(document).ready(function(){ That just has to be included on any page which may make a AJAX request and it should prevent any CSS issues. Note: You need jQuery cookie in order for this to work: https://github.com/carhartl/jquery-cookie Sorry for this journal of mine, I would have deleted the entire thread but did not see an option. If an admin sees this it can be deleted. Many Thanks! |
Messages In This Thread |
Codeigniter and AJAX - Cross Server Scripting Issues - by El Forum - 02-02-2014, 03:50 PM
Codeigniter and AJAX - Cross Server Scripting Issues - by El Forum - 02-02-2014, 04:15 PM
|