Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6987517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:56:52+00:00 2026-05-27T18:56:52+00:00

I have created a select input via a Ajax request and it works perfectly,

  • 0

I have created a select input via a Ajax request and it works perfectly, the result using Firebug is:

<select id="ANTIREFLEXO" class="xlarge" name="ANTIREFLEXO">
    <option value="1_ANTI REFLEXO EASY CLEAN">ANTI REFLEXO EASY CLEAN</option>
    <option value="2_ANTI REFLEXO CRIZAL EASY">ANTI REFLEXO CRIZAL EASY</option>
    <option value="3_ANTI REFLEXO CRIZAL ALIZE PLUS">ANTI REFLEXO CRIZAL ALIZE PLUS</option>
    <option value="4_ANTI REFLEXO CRIZAL FORTE">ANTI REFLEXO CRIZAL FORTE</option>
    <option value="5_ANTI REFLEXO CLEAN EXTRA">ANTI REFLEXO CLEAN EXTRA</option>
    <option value="6_ANTI REFLEXO NO RISK">ANTI REFLEXO NO RISK</option>
    <option value="7_ANTI RISCO">ANTI RISCO</option>
    <option value="8_BLUE BLOCK">BLUE BLOCK</option>
</select>

The thing is that I’m not finding a way to receive ANTIREFLEXOs selected value.

My PHP, using CodeIgniter is like this:

$tratamento = $this->input->post("ANTIREFLEXO");

And it is always NULL

The select input generated depends on other option from another select input component. If the user selects the option “ANTI REFLEXO”, I’ll have to load this new select input with those values.

What am I doing wrong?

Thanks in advance for any help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:56:53+00:00Added an answer on May 27, 2026 at 6:56 pm

    I’ve found a solution for that..

    I was creating the select on PHP and adding it on the HTML via Ajax but I have created the select on the HTML and just added the options via Ajax and it worked perfectly:

    <select class="xlarge" id="ANTIREFLEXO" name="ANTIREFLEXO">
    

    Hope it helps =)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using JQuery and cakephp for my application. I have created a select
I have a SELECT input that gets all of its options via the database.
I have created a table in my application, I want to select (change background
I have a select list I've created in a form alter, however, when I
I have created a custom dialog for Visual Studio Setup Project using the steps
I am using JQuery to create additional input fields via clicking a link. Currently,
I have created a C program which updates user name with client input, but
I have created a function called billingOptions() it is associated with a dropdown (select)
I have created a django application. Using this app users can be created or
I have created a radio button widget using struts2. I want to retrieve the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.