KittyKate Posted August 21, 2006 Share Posted August 21, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/18216-strange-select-issue/ Share on other sites More sharing options...
KittyKate Posted August 21, 2006 Author Share Posted August 21, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/18216-strange-select-issue/#findComment-78324 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.