Can't show View with Ajax |
Hello! I'm request your help in order to solve a problem that I try to solve several days...
Things you have to know: 1° The database is in SQL 2° I'm using Ajax to manage the view pages I divided the page in Header, menu, sub menu and content 3° I'm trying to change view page of content. When the user fill the content page with the info, the submit button call an JS code in helper and create an array to send it a controller function and send it to the database, if the data sended is correct the view page (content) change to a view with the information of the user displayed. This is part of the controller function: Code: public function vistaedit($obj_inv, $array_db){ And this is the JS Code: $("#btn_enviar").click(function(){ I'll appreciate your help so much, I don't know why isn't showing the edit view page, I check if the info is added to the database and is doing it, i tried to see if i can echo the code and isn't working neither... |
Welcome Guest, Not a member yet? Register Sign In |