Problem whit Ajax in CI 3.1.10 |
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.
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 |
Welcome Guest, Not a member yet? Register Sign In |