[eluser]tnathos[/eluser]
ok.. i have a problem.
1. I have a main view.. this view have a hidden div.. this div have a variable $data['respuesta'].
2. I have in the main view a js, this script execute a ajax.
3. in the ajax i send a parameter and the ajax retunr an select to the database.
4. the problem... when execute the main view the variable $data['respuesta'] not yet exits.. because this variable its the result from the script ajax.
5. i need this process for show in a div the data result.. but only when execute the script.
help.
How i cant make this?
thanks.