CodeIgniter Forums

Full Version: Jquery / Jquery Mobile and Code Igniter - redirects
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
I have noticed that anytime I use the redirect() function with jquery mobile / jquery, I have issues with "Undefined" errors and malformed uris if I pass the 'refresh' parameter.

I don't know why this happens, and if it is a bug or not, but to anyone else that is having the issue passing 'location' in lieu of 'refresh' fixes the problem.

By default, ion_auth uses a lot of the refesh paramater so changing it to location will make ion_auth work easily with jquery mobile too.

Thanks,
Jordan

El Forum

[eluser]Unknown[/eluser]
Works like a charm!
Thanks for this