Jquery Firefox Bug - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Jquery Firefox Bug (/showthread.php?tid=38459) |
Jquery Firefox Bug - El Forum - 02-08-2011 [eluser]yorvik[/eluser] Hello guys I am making a pagination page with the CI pagination class. My Requests are done by AJAX. In Chrome , Safari , IE everything works fine. But in Firefox I get a bug because the whole html page is resend. preview This is my Jquery Code: Code: function showBusy(){ This is My controller code: Code: $config['total_rows'] = $this->svensonart->get_num_works(); Code: <div id="newest_works"> If somebody could help me i would be very thankfull Joachim Jquery Firefox Bug - El Forum - 02-09-2011 [eluser]rdjs[/eluser] Try adding a Code: return false; at the end of your update function. Jquery Firefox Bug - El Forum - 02-09-2011 [eluser]yorvik[/eluser] I added return false , but that did not solve the problem. Somebody who sees the problem? thanks in advance Joachim Jquery Firefox Bug - El Forum - 02-09-2011 [eluser]Victor Michnowicz[/eluser] It may be a missing semicolon. Code: window.setTimeout( function(){ Jquery Firefox Bug - El Forum - 02-09-2011 [eluser]yorvik[/eluser] I added the ; But that still did not solve the problem. Somebody who can help? Thank in advance Joachim Jquery Firefox Bug - El Forum - 02-09-2011 [eluser]cideveloper[/eluser] It has to do with your 302 redirect from http://www.svensonart.com/test/index.php/nl/home/index/8 to http://www.svensonart.com/test/index.php/nl/home/index/8 Jquery Firefox Bug - El Forum - 02-09-2011 [eluser]yorvik[/eluser] [quote author="cideveloper" date="1297289975"]It has to do with your 302 redirect from http://www.svensonart.com/test/index.php/nl/home/index/8 to http://www.svensonart.com/test/index.php/nl/home/index/8[/quote] I found my problem. Code: $config['base_url'] = base_url().'/index.php/home/index/'; Replaced to Code: $config['base_url'] = base_url().'/index.php/nl/home/index/'; Problem Solved! |