MAKE DIV STAY SHOW

MAKE DIV STAY SHOW

hello guys jquery, thanks for support this forum i have been familiar with jquery, so to the point i have some problem now with jquery div 

here is my simple demo

  1. Users click href edit in second div and form in the third div show, form need action php ( Codeignter ) to insert database by using php. it success but all i want how can i make the form still stay when the form validations is false by php to make users know what the errors shown without change the my logic jquery cause when the validations form true or false div-3 will be automatically hide
  2. if the validations true automatically close if false still stay but the actions using php, what should event i use to?

        and here is my validations php 
  1. if ($this->form_validation->run() == FALSE)
  2. {
    //show the error to the from
    }else {
    //insert databse
    }