Welcome Guest, Not a member yet? Register   Sign In
AJAX & IE [Solved]
#3

[eluser]Carlos Mora[/eluser]
well, things works again. It's a VERY strange ¿bug? :

if in IE7 we try $('#aTable').html(' <some contents' ) the spaces at the beggining makes IE fail and the table disapears. Removing the initial spaces in the partial corrected the problem.

Code:
function _buildTables() {
        $data['records'] = $this->admin->getTables();
        ob_start();
        $this->load->view('admin/tablas_partial',$data);
        $buffer = ob_get_contents();
        @ob_end_clean();
        // begin added
        $buffer = trim( $buffer);
        // end added

        return $buffer;
    }

Regards


Messages In This Thread
AJAX & IE [Solved] - by El Forum - 04-27-2010, 07:40 AM
AJAX & IE [Solved] - by El Forum - 04-27-2010, 07:45 AM
AJAX & IE [Solved] - by El Forum - 04-27-2010, 10:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB