Jump to content

Archived

This topic is now archived and is closed to further replies.

KittyKate

Strange SELECT issue

Recommended Posts

I've got several SELECTs that list a bunch of companies. If the company you want to chose isn't listed, you chose 'Create New'. A javascript then creates a field immediately under in which you enter the new company's name and select it's area of industry (so a text input and a second select).

My problem: the first layer of selects work perfectly. However, as soon as you chose 'create new' all selects suddenly stop functioning. You can get the top level (the list of companies) to drop down, but anything you chose doesn't get selected. The inner select (the list of areas of industry) won't even drop down. I didn't write the original code, so I may be missing something, but I've combed through it as best I can, and for the life of my I can't figure out what the issue is. I thought it was a missing close tag or quotation marks somewhere, but it doesn't appear to be an issue. This was a problem with the code before I got it.

Interesting thing I've noticed: I haven't been testing it in IE yet, but when I change tabs in FF and then back, the top level SELECTs work until I click the second level select.

Share this post


Link to post
Share on other sites
Well, I found a nice work-around that fixes the issue -- radio buttons are my new best friend. (The inner option only had four choices, so the UI actually looks better with them.)

Time for a night away from the screen and maybe a glass of wine.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.