Jquery Firefox Bug |
[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
[eluser]rdjs[/eluser]
Try adding a Code: return false; at the end of your update function.
[eluser]yorvik[/eluser]
I added return false , but that did not solve the problem. Somebody who sees the problem? thanks in advance Joachim
[eluser]Victor Michnowicz[/eluser]
It may be a missing semicolon. Code: window.setTimeout( function(){
[eluser]yorvik[/eluser]
I added the ; But that still did not solve the problem. Somebody who can help? Thank in advance Joachim
[eluser]cideveloper[/eluser]
It has to do with your 302 redirect from http://www.svensonart.com/test/index.php...me/index/8 to http://www.svensonart.com/test/index.php...me/index/8
[eluser]yorvik[/eluser]
[quote author="cideveloper" date="1297289975"]It has to do with your 302 redirect from http://www.svensonart.com/test/index.php...me/index/8 to http://www.svensonart.com/test/index.php...me/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! |
Welcome Guest, Not a member yet? Register Sign In |