![]() |
Problem whit Ajax in CI 3.1.10 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Problem whit Ajax in CI 3.1.10 (/showthread.php?tid=77442) |
Problem whit Ajax in CI 3.1.10 - Omar Crespo - 09-02-2020 Hello, I have an issue whit a select that get the options from ajax. When I click Submit button, it foes not send the value y selected via $_POST. I used the enable_profiler and it shows that only the name and the level where sended: $_POST['name'] $_POST['level'] The third element, which is the ajax select, was not there. Can you help me? Thanks in advance. RE: Problem whit Ajax in CI 3.1.10 - jreklund - 09-02-2020 Hi, you will need to show us some code. RE: Problem whit Ajax in CI 3.1.10 - Omar Crespo - 09-02-2020 I just figured it out. I just add attrs to the form: <?= form_open('url', array('name' => 'test'); ?> And put the form attr to the select <select form='test'> Thanks anyway |