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

  • SEARCH
  • Home
  • 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 8069507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T13:04:25+00:00 2026-06-05T13:04:25+00:00

I am working on a fairly simple demo app. Three input dropdown boxes are

  • 0

I am working on a fairly simple demo app. Three input dropdown boxes are displayed using slideDown() in succession (this fires on a change() of the previous dropdown), and one uses an AJAX request to determine the next one’s values.

This works flawlessly in Chrome and Firefox, but IE (even 9) chokes on the second dropdown- the one that executes the AJAX request.

Because code speaks louder than words:

$('#specialty').change(function() {
    if ( $(this).val() !== "(please select an option)" ) {
        $.ajax({
                type: "GET",
                url: "getValidToppings.php",
                data: { location: $(this).parent().prev().children('select').val() }
        }).done(function(data) {
            var mytoppings, toppingsSelectBox;

            console.log('return values: ' + data);

            data = $.parseJSON(data);

            toppingsSelectBox = $('#toppings');
            toppingsSelectBox.empty();

            // we use the value from the select box as a key in the dict of toppings returned
            // from the AJAX call
            mytoppings = data[$('#specialty').val()];

            toppingsSelectBox.append('<option>(please select an option)</option>')

            for (i in mytoppings) {
                toppingsSelectBox.append("<option>"+mytoppings[i]+"</option>");
            }

            toppingsSelectBox.parent().slideDown('slow', 'linear');
        });
    }
});

You can see that when I change this dropdown (where id="specialty"), the values returned via AJAX (in JSON) are supposed to fill up the .toppings input, and then reveal it (with slideDown()). But, in IE… no dice.

What’s REALLY WEIRD is, if I boot up IE’s dev tools and start tinkering with Javascript (set breakpoint, use console, etc.), it starts working as anticipated. Even if I only OPEN dev tools, as soon as that window is open it starts working. What the heck?

Something weird is happening here. Any ideas?

  • 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-06-05T13:04:27+00:00Added an answer on June 5, 2026 at 1:04 pm

    IE doesn’t know what “console” is, except when you have the dev tools open. Take out the console.log and you should be good. Also make sure you aren’t missing any semicolons, IE tends to not like that.

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

Sidebar

Related Questions

I'm using a tutorial to write a fairly simple app. I copied the app
I'm working on a project creating a fairly simple one-to-many host-to-slave network using a
This should be fairly simple, but I seem to be missing something. I'm working
I'm working on a fairly simple Pylons 0.9.7 application. How do I tell, in
I am working on a fairly complicated project. We have a c# forms app
I'm fairly new to using JSON (as opposed to XML) and am currently working
I have a Core Data app with a fairly simple data model. I want
I am learning LINQ and this seems like a fairly simple problem. I have
I working a fairly simple database application where I am tracking MLB baseball pitchers.
I am working on an fairly simple CRUD application in ASP.NET MVC. The rule

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.